Class SimpleLoggerConfiguration


  • public class SimpleLoggerConfiguration
    extends Object
    • Constructor Detail

      • SimpleLoggerConfiguration

        public SimpleLoggerConfiguration​(PropertyEnvironment environment)
    • Method Detail

      • isContextMapShown

        public boolean isContextMapShown()
        Include the ThreadContextMap in the log message
      • isLogNameShown

        public boolean isLogNameShown()
        Include the instance name in the log message?
      • isShortNameShown

        public boolean isShortNameShown()
        Include the short name (last component) of the logger in the log message. Defaults to true - otherwise we'll be lost in a flood of messages without knowing who sends them.
      • isDateTimeShown

        public boolean isDateTimeShown()
        Include the current time in the log message
      • getDefaultLevel

        public Level getDefaultLevel()
      • getLoggerLevel

        public Level getLoggerLevel​(String loggerName)
      • getDateTimeFormat

        public DateFormat getDateTimeFormat()
      • getLogFileName

        public String getLogFileName()