goodjava logging

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

goodjava logging

Instead of cleaning up log4j, I decided to rewrite it from scratch.  goodjava.logging is my replacement for slf4j, and goodjava.logger is my replacement for log4j.  I decided on a simple conventional interface for my logger.  Compare with the horrible mess of slf4j's logger.

You can see some examples of how to use my logger.  Configuration is in Java, where it should be.

My design use's log4j's concepts but keeps everything very simple.  Of course my code looks nothing like depraved modern code.

I implemented full bridging with slf4j, both slf4j to goodjava.logging and goodjava.logging to slf4j.  This way my code is completely compatible with depraved modern code.