Package 

Class LoggerImpl

    • 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 tothe 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 tothe 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
    • 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 tothe 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 tothe 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 propertiesas are used at startup. So if the properties containing the log dirlocations have changed, we would read the new configuration.