Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-41

Extensible Log Level

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0-rc1
    • API
    • None

    Description

      It is desirable to have the Level be an enum. However, it is also desirable to let users add new log levels. These goals are in opposition to each other since enum classes are final. In addition, adding new levels implies adding new methods to the Logger interface (or some counterpart to it). This would be unworkable.

      Attachments

        Issue Links

          Activity

            People

              rgoers Ralph Goers
              rgoers Ralph Goers
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: