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