JavaScript is disabled on your browser.
Method Summary
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Method Detail
loadDefaults
protected void loadDefaults(LoggingInitializationContext initializationContext,
LogFile logFile)
Load sensible defaults for the logging system.
Specified by:
loadDefaults
in class AbstractLoggingSystem
Parameters:
initializationContext
- the logging initialization context
logFile
- the file to load or null
if no log file is to be written
loadConfiguration
protected void loadConfiguration(LoggingInitializationContext initializationContext,
String location,
LogFile logFile)
Load a specific configuration.
Specified by:
loadConfiguration
in class AbstractLoggingSystem
Parameters:
initializationContext
- the logging initialization context
location
- the location of the configuration to load (never null
)
logFile
- the file to load or null
if no log file is to be written
setLogLevel
public void setLogLevel(String loggerName,
LogLevel level)
Sets the logging level for a given logger.
Overrides:
setLogLevel
in class LoggingSystem
Parameters:
loggerName
- the name of the logger to set (null
can be used for the
root logger).
level
- the log level (null
can be used to remove any custom level for
the logger and use the default configuration instead)