[[tracing:intro|Intro]] [[tracing:ex1|Ex1]] [[tracing:ex2|Ex2]] [[tracing:ex3|Ex3]] ====== Tracing: Intro ====== 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 ===== 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 (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}} ---- Afterwards, start the track at [[tracing:ex1|Exercise 1]].