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

           Summary: JDK14LoggerAdapter should lazily create stack traces
           Product: SLF4J
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS X 10.0
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Implementations
        AssignedTo: dev@slf4j.org
        ReportedBy: [EMAIL PROTECTED]


JDK14LoggerAdapter creates stack traces whether the log formatter wants them or
not.  By passing a subclass of LogRecord instead of LogRecord,
getSourceClassName() and getSourceMethodName() could be overridden and trigger
the stack trace walk.

This would ensure that the overhead would be limited to the case where they are
actually used by a Formatter subclass.


-- 
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.
_______________________________________________
dev mailing list
dev@slf4j.org
http://www.slf4j.org/mailman/listinfo/dev

Reply via email to