Search My Blog

Sunday, April 12, 2015

Notes - Spring in Action 3ed.:Chapter 1

Aspects

What about logging run-time values in the knight class?
The example explains how aspects can be used for logging, without the knight class needing to know the existence of a minstrel. However, in more practical use, we would want to log run-time values, specific to the knight class. Can this be done using aspects, without the log statement being present in the knight class code?

No comments:

Post a Comment