Class LoggerImpl

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void setLevel(Level level) Set logging level for all handlers to level
      Level getLevel()
      void log(Level level, Object msg) Logs a message at a given level, if that level is loggable according to the log level configured by this instance.
      void log(Level level, Object msg, Throwable thrown) Logs a message at a given level, if that level is loggable according to the log level configured by this instance.
      void reset() Reinitialize the logging properties and reread the logging configuration.
      • Methods inherited from class org.jitsi.utils.logging.Logger

        debug, debug, debug, debug, error, error, error, error, fatal, fatal, getLogger, getLogger, getLogger, info, info, info, info, isDebugEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, log, log, logEntry, logExit, setLevelAll, setLevelDebug, setLevelError, setLevelFatal, setLevelInfo, setLevelOff, setLevelTrace, setLevelWarn, trace, trace, warn, warn
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • setLevel

         void setLevel(Level level)

        Set logging level for all handlers to level

        Parameters:
        level - the level to set for all logger handlers
      • log

         void log(Level level, Object msg)

        Logs a message at a given level, if that level is loggable according to the log level configured by this instance.

      • log

         void log(Level level, Object msg, Throwable thrown)

        Logs a message at a given level, if that level is loggable according to the log level configured by this instance.

      • reset

         void reset()

        Reinitialize the logging properties and reread the logging configuration.

        The same rules are used for locating the configuration properties as are used at startup. So if the properties containing the log dir locations have changed, we would read the new configuration.