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

[patch] Enhanced SimpleLogger implementation

    Details

    • Type: Improvement
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Implementations
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      I recently had to enhance SimpleLogger by back-porting some functionalities of commons-logging's SimpleLog into it.

      Namely, I have added the following:

      • optional configuration file; if none found, you get the exact same set of features as the currently released SimpleLogger.
      • enable to log more than the info log level
      • enable to set different log levels for different Loggers
      • enable to show/hide thread name
      • very primitive log messages customisation (about the same as commons-logging)

      Once again, the new code is totally compatible in behaviour and output with the currently released SimpleLogger.
      I also made it so that current users of commons-logging can upgrade to SLF4J very easily.
      Finally, I made sure to keep SimpleLogger as simple as possible: we already have fully-fledged logging frameworks, let's not re-invent one!

      I think this new implementation would enhance the value of SLF4J, while keeping a perfect retro-compatibility with previous versions.

        Attachments

          Activity

            People

            • Assignee:
              slf4j-dev SLF4J developers list
              Reporter:
              cedrik.lime@gmail.com Cédrik LIME
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: