public class DefaultLog extends Log
Log.SimpleMessage
Modifier and Type | Field and Description |
---|---|
private static PrintStreamLogTarget |
DEFAULT_LOG_TARGET
The default log target.
|
private static DefaultLog |
defaultLogInstance
The default log instance.
|
Modifier | Constructor and Description |
---|---|
protected |
DefaultLog()
Creates a new log.
|
Modifier and Type | Method and Description |
---|---|
void |
addTarget(LogTarget target)
Adds a log target to this facility.
|
static DefaultLog |
getDefaultLog()
Returns the default log.
|
void |
init()
Initializes the log system after the log module was loaded and a log target
was defined.
|
static void |
installDefaultLog()
Makes this implementation the default instance.
|
createContext, createContext, debug, debug, defineLog, doLog, doLog, error, error, getDebuglevel, getInstance, getTargets, info, info, internalCreateContext, isDebugEnabled, isErrorEnabled, isInfoEnabled, isWarningEnabled, log, log, removeTarget, replaceTargets, setDebuglevel, warn, warn
private static final PrintStreamLogTarget DEFAULT_LOG_TARGET
private static final DefaultLog defaultLogInstance
public void init()
public void addTarget(LogTarget target)
public static DefaultLog getDefaultLog()
public static void installDefaultLog()