Logger.Category
Modifier | Constructor and Description |
---|---|
protected |
LoggerImpl(java.util.logging.Logger logger)
Base constructor
|
Modifier and Type | Method and Description |
---|---|
java.util.logging.Level |
getLevel() |
(package private) boolean |
isLoggable(java.util.logging.Level level)
Checks whether messages with a particular level should be logged
according to the log level configured for this
Logger . |
void |
log(java.util.logging.Level level,
java.lang.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(java.util.logging.Level level,
java.lang.Object msg,
java.lang.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.
|
void |
setLevel(java.util.logging.Level level)
Set logging level for all handlers to level
|
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
protected LoggerImpl(java.util.logging.Logger logger)
logger
- the implementation specific logger delegate that this
Logger instance should be created around.public void setLevel(java.util.logging.Level level)
public java.util.logging.Level getLevel()
boolean isLoggable(java.util.logging.Level level)
Logger
.isLoggable
in class Logger
level
- the log level.public void log(java.util.logging.Level level, java.lang.Object msg)
public void log(java.util.logging.Level level, java.lang.Object msg, java.lang.Throwable thrown)
public void reset()
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.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.