I am implementing a simple logging aspect for my app, and right now I only need to log two events, but they're on different objects and I need to perform different actions depeding on the objects I'm advising. So my first question is, should I set the mappedNames to * and perform logic inside the advisor to do what I need, doing nothing on the other methods, or should I explicitly specify the methods in the config file? Second question is about the klondike sample app. The logging advice there is around advice, and I was wondering what the criteria was for deciding to do this kind of advice versus after advice, which seems like a good place to put logging to me. I don't intend on modifying the method at all, and after advice seems a bit easier to get my head around, so would you recommend going with that for now?

Thanks!

Reply via email to