*
The moose likes Other Open Source Projects and the fly likes Seggregating Logging Code from Actual Business Logic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Seggregating Logging Code from Actual Business Logic" Watch "Seggregating Logging Code from Actual Business Logic" New topic
Author

Seggregating Logging Code from Actual Business Logic

Enge Chall
Ranch Hand

Joined: Nov 22, 2005
Posts: 30
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.....


Not everything that counts can be counted, and not everything that can be counted counts.
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

You might want to look into AOP calls for this, AspectJ is a library you can look at


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
 
jQuery in Action, 2nd edition
 
subject: Seggregating Logging Code from Actual Business Logic