Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Seggregating Logging Code from Actual Business Logic

 
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic