[slf4j-dev] [Bug 51] New: API limits log messages to type String

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Thu Jun 21 21:34:04 CEST 2007


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

           Summary: API limits log messages to type String
           Product: SLF4J
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: Core API
        AssignedTo: dev at slf4j.org
        ReportedBy: robertjchristian at gmail.com
                CC: robertjchristian at gmail.com


SLF4J does not provide a means for logging messages of type Object, and I see
this as a limitation of the API.  The Log4j "Logger" and JCL "Log" interfaces
allow users to log messages of type Object, which provides the highest level of
flexibility to client code such as custom Log4J Appenders.  Since I rely on a
custom Appender, which casts and queries the LoggingEvent.getMessage() Object,
I am forced to abstain from using the SLF4J in my project.

This applies to all versions.


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



More information about the slf4j-dev mailing list