Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Seggregating Logging Code from Actual Business Logic  RSS feed

 
Enge Chall
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Is there anyway or any open source to use for maintaining logging codes separate from business code ? Without using spring framework please.
I want to log not only the entry and exit point of a method call, but also in between the codes of a method.

appreciate any suggessions......

thanks.....
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might want to look into AOP calls for this, AspectJ is a library you can look at
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!