Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Method Logging with AOP and Annotations

 
Yegor Bugayenko
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please, check this blog post I finished writing today: http://www.yegor256.com/2014/06/01/aop-aspectj-java-method-logging.html

It explains how AspectJ and jcabi-aspects can be used for automatic method logging.

Would be great to hear your comments!
 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks nice. I have an aspect library I have written that does many of the same types of things. I have a few you don't have and you have a few I don't

Some of the aspects you provide are already covered by javax annotations and/or Spring annotations.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic