[slf4j-dev] [Bug 245] New: incorrect isTraceEnabled call in XLogger

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Fri Sep 16 20:05:01 CEST 2011


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

           Summary: incorrect isTraceEnabled call in XLogger
           Product: SLF4J
           Version: 1.6.x
          Platform: PC
        OS/Version: Mac OS X 10.3
            Status: NEW
          Severity: major
          Priority: P1
         Component: slf4j-ext
        AssignedTo: slf4j-dev at qos.ch
        ReportedBy: git at netcc.us


public void exit() {
    if (instanceofLAL && logger.isTraceEnabled(ENTRY_MARKER)) {
      ((LocationAwareLogger) logger).log(EXIT_MARKER, FQCN,
          LocationAwareLogger.TRACE_INT, EXIT_MESSAGE_0, null, null);
    }
  }

should be:
...
    if (instanceofLAL && logger.isTraceEnabled(EXIT_MARKER)) {
...

-- 
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