public final class RuntimeLoggerAdapter extends org.slf4j.helpers.MarkerIgnoringBase implements RuntimeLoggerAccessor, org.slf4j.spi.LocationAwareLogger, Serializable
RuntimeLoggerAccessor.RuntimeLoggerMutator, RuntimeLoggerAccessor.RuntimeLoggerProperty
Modifier and Type | Field and Description |
---|---|
protected String |
name |
Constructor and Description |
---|
RuntimeLoggerAdapter(RuntimeLogger logger) |
Modifier and Type | Method and Description |
---|---|
void |
debug(String msg) |
void |
debug(String format,
Object... args) |
void |
debug(String format,
Object arg) |
void |
debug(String format,
Object arg1,
Object arg2) |
void |
debug(String msg,
Throwable t) |
void |
error(String msg) |
void |
error(String format,
Object... args) |
void |
error(String format,
Object arg) |
void |
error(String format,
Object arg1,
Object arg2) |
void |
error(String msg,
Throwable t) |
RuntimeLogger |
getRuntimeLogger()
In case the
Slf4jRuntimeLoggerImpl (as created by the
Slf4jRuntimeLoggerFactorySingleton ) detects that SLF4J has bound
a RuntimeLoggerAdapter (i.e. the REFCODES.ORG SLF4J binding), it
directly delegates its method calls to the wrapped RuntimeLogger
instead of marshaling a log request through this
RuntimeLoggerAdapter ; as marshaling would mean consolidating of
various detailed LogPriority levels to a single SLF4J log level. |
void |
info(String msg) |
void |
info(String format,
Object... args) |
void |
info(String format,
Object arg) |
void |
info(String format,
Object arg1,
Object arg2) |
void |
info(String msg,
Throwable t) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isInfoEnabled() |
boolean |
isTraceEnabled() |
boolean |
isWarnEnabled() |
void |
log(org.slf4j.Marker marker,
String callerFQCN,
int level,
String msg,
Object[] args,
Throwable t) |
protected Object |
readResolve() |
void |
trace(String msg) |
void |
trace(String format,
Object... args) |
void |
trace(String format,
Object arg) |
void |
trace(String format,
Object arg1,
Object arg2) |
void |
trace(String msg,
Throwable t) |
void |
warn(String msg) |
void |
warn(String format,
Object... args) |
void |
warn(String format,
Object arg) |
void |
warn(String format,
Object arg1,
Object arg2) |
void |
warn(String msg,
Throwable t) |
debug, debug, debug, debug, debug, error, error, error, error, error, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, toString, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
debug, debug, debug, debug, debug, error, error, error, error, error, getName, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn
protected String name
public RuntimeLoggerAdapter(RuntimeLogger logger)
public boolean isTraceEnabled()
isTraceEnabled
in interface org.slf4j.Logger
public void trace(String msg)
trace
in interface org.slf4j.Logger
public void trace(String format, Object arg)
trace
in interface org.slf4j.Logger
public void trace(String format, Object arg1, Object arg2)
trace
in interface org.slf4j.Logger
public void trace(String format, Object... args)
trace
in interface org.slf4j.Logger
public boolean isDebugEnabled()
isDebugEnabled
in interface org.slf4j.Logger
public void debug(String msg)
debug
in interface org.slf4j.Logger
public void debug(String format, Object arg)
debug
in interface org.slf4j.Logger
public void debug(String format, Object arg1, Object arg2)
debug
in interface org.slf4j.Logger
public void debug(String format, Object... args)
debug
in interface org.slf4j.Logger
public boolean isInfoEnabled()
isInfoEnabled
in interface org.slf4j.Logger
public void info(String msg)
info
in interface org.slf4j.Logger
public void info(String format, Object arg1, Object arg2)
info
in interface org.slf4j.Logger
public void info(String format, Object... args)
info
in interface org.slf4j.Logger
public boolean isWarnEnabled()
isWarnEnabled
in interface org.slf4j.Logger
public void warn(String msg)
warn
in interface org.slf4j.Logger
public void warn(String format, Object arg1, Object arg2)
warn
in interface org.slf4j.Logger
public void warn(String format, Object... args)
warn
in interface org.slf4j.Logger
public boolean isErrorEnabled()
isErrorEnabled
in interface org.slf4j.Logger
public void error(String msg)
error
in interface org.slf4j.Logger
public void error(String format, Object arg)
error
in interface org.slf4j.Logger
public void error(String format, Object arg1, Object arg2)
error
in interface org.slf4j.Logger
public void error(String format, Object... args)
error
in interface org.slf4j.Logger
public void log(org.slf4j.Marker marker, String callerFQCN, int level, String msg, Object[] args, Throwable t)
log
in interface org.slf4j.spi.LocationAwareLogger
public RuntimeLogger getRuntimeLogger()
Slf4jRuntimeLoggerImpl
(as created by the
Slf4jRuntimeLoggerFactorySingleton
) detects that SLF4J has bound
a RuntimeLoggerAdapter
(i.e. the REFCODES.ORG SLF4J binding), it
directly delegates its method calls to the wrapped RuntimeLogger
instead of marshaling a log request through this
RuntimeLoggerAdapter
; as marshaling would mean consolidating of
various detailed LogPriority
levels to a single SLF4J log level.getRuntimeLogger
in interface RuntimeLoggerAccessor
RuntimeLogger
used by the
Slf4jRuntimeLoggerImpl
when possible.protected Object readResolve() throws ObjectStreamException
ObjectStreamException
Copyright © 2015. All rights reserved.