[slf4j-dev] [Bug 186] New: [patch] Enhanced SimpleLogger implementation

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Thu Jun 17 15:35:06 CEST 2010


http://bugzilla.slf4j.org/show_bug.cgi?id=186

           Summary: [patch] Enhanced SimpleLogger implementation
           Product: SLF4J
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Implementations
        AssignedTo: slf4j-dev at qos.ch
        ReportedBy: cedrik.lime at gmail.com


Created an attachment (id=70)
 --> (http://bugzilla.slf4j.org/attachment.cgi?id=70)
New implementation of SimpleLogger

I recently had to enhance SimpleLogger by back-porting some functionalities of
commons-logging's SimpleLog into it.

Namely, I have added the following:
* optional configuration file; if none found, you get the exact same set of
features as the currently released SimpleLogger.
* enable to log more than the info log level
* enable to set different log levels for different Loggers
* enable to show/hide thread name
* very primitive log messages customisation (about the same as commons-logging)

Once again, the new code is totally compatible in behaviour and output with the
currently released SimpleLogger.
I also made it so that current users of commons-logging can upgrade to SLF4J
very easily.
Finally, I made sure to keep SimpleLogger as simple as possible: we already
have fully-fledged logging frameworks, let's not re-invent one!

I think this new implementation would enhance the value of SLF4J, while keeping
a perfect retro-compatibility with previous versions.


-- 
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the slf4j-dev mailing list