public class LateInitializedLogbackInternalLogger extends Object implements InternalLogger
InternalLogger that passes all messages
to the Logback status buffer. Unlike the base LogbackInternalLogger,
this class is instantiated without a destination, and queues messages until
the destination is set. It's intended to support JMXManager, which
may be created before the logging context.| Constructor and Description |
|---|
LateInitializedLogbackInternalLogger(String origin) |
| Modifier and Type | Method and Description |
|---|---|
void |
debug(String message) |
void |
error(String message,
Throwable ex) |
void |
setDestination(ch.qos.logback.core.Context context)
Sets the logger's destination, if one has not already been set.
|
void |
warn(String message) |
public LateInitializedLogbackInternalLogger(String origin)
public void setDestination(ch.qos.logback.core.Context context)
public void debug(String message)
debug in interface InternalLoggerpublic void warn(String message)
warn in interface InternalLoggerpublic void error(String message, Throwable ex)
error in interface InternalLoggerCopyright © 2020. All rights reserved.