User Tools

Site Tools


tracing:intro

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tracing:intro [2008/10/06 15:43]
bdefrain
tracing:intro [2021/02/05 13:55] (current)
Line 1: Line 1:
 +[[tracing:intro|Intro]]
 +[[tracing:ex1|Ex1]]
 +[[tracing:ex2|Ex2]]
 +[[tracing:ex3|Ex3]]
 ====== Tracing: Intro ====== ====== Tracing: Intro ======
  
-Tracing and logging is the "[[Wikipedia>Hello_world|Hello world]]" of aspect-oriented programming. In these exercises, we will develop some tracing behavior using aspects.+Tracing and logging is the "[[wp>Hello_world|Hello world]]" of aspect-oriented programming. In these exercises, we will develop some tracing behavior using aspects.
  
 ===== Set-up & Running ===== ===== Set-up & Running =====
Line 7: Line 11:
 You can reuse the AspectJ project with the figure editor application you have created during the previous track. If you haven't got such a project yet, consult the [[invariant:intro|Invariants: Intro]] page. You can reuse the AspectJ project with the figure editor application you have created during the previous track. If you haven't got such a project yet, consult the [[invariant:intro|Invariants: Intro]] page.
  
-===== The log panel (LogAdapter aspect) =====+===== The log panel (and LogAdapter aspect) ===== 
 + 
 +The figure editor includes a log panel for displaying status messages. You can write to this panel through the static method ''Log.write'' in package ''support''.  
 + 
 +You might notice that the ''Log'' class is very simple and contains no references to the GUI part of the application. To find out how it works, follow the advice marker on the ''write'' method. 
 + 
 +{{tracing:logpanel.png?300|Log Panel}}
  
 ---- ----
  
-Start the track at [[tracing:ex1|Exercise 1]].+Afterwards, start the track at [[tracing:ex1|Exercise 1]]. 
tracing/intro.1223300584.txt.gz · Last modified: 2008/10/06 15:43 by bdefrain