Uploaded image for project: 'SLF4J'
  1. SLF4J
  2. SLF4J-236

incorrect isTraceEnabled call in XLogger

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.6.x
    • slf4j-ext
    • None
    • Operating System: Mac OS X 10.3
      Platform: PC

    Description

      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)) {
      ...

      Attachments

        Activity

          People

            slf4j-dev SLF4J developers list
            git@netcc.us John Vasileff
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: