org.slf4j.ext

Class LoggerWrapper

public class LoggerWrapper extends Object implements Logger

A helper class wrapping an Logger instance preserving location information if the wrapped instance supports it.

Author: Ralph Goers Ceki Gülcü

Constructor Summary
LoggerWrapper(Logger logger, String fqcn)
Method Summary
voiddebug(String msg)
Delegate to the appropriate method of the underlying logger.
voiddebug(String format, Object arg)
Delegate to the appropriate method of the underlying logger.
voiddebug(String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.
voiddebug(String format, Object[] argArray)
Delegate to the appropriate method of the underlying logger.
voiddebug(String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.
voiddebug(Marker marker, String msg)
Delegate to the appropriate method of the underlying logger.
voiddebug(Marker marker, String format, Object arg)
Delegate to the appropriate method of the underlying logger.
voiddebug(Marker marker, String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.
voiddebug(Marker marker, String format, Object[] argArray)
Delegate to the appropriate method of the underlying logger.
voiddebug(Marker marker, String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.
voiderror(String msg)
Delegate to the appropriate method of the underlying logger.
voiderror(String format, Object arg)
Delegate to the appropriate method of the underlying logger.
voiderror(String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.
voiderror(String format, Object[] argArray)
Delegate to the appropriate method of the underlying logger.
voiderror(String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.
voiderror(Marker marker, String msg)
Delegate to the appropriate method of the underlying logger.
voiderror(Marker marker, String format, Object arg)
Delegate to the appropriate method of the underlying logger.
voiderror(Marker marker, String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.
voiderror(Marker marker, String format, Object[] argArray)
Delegate to the appropriate method of the underlying logger.
voiderror(Marker marker, String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.
StringgetName()
Delegate to the appropriate method of the underlying logger.
voidinfo(String msg)
Delegate to the appropriate method of the underlying logger.
voidinfo(String format, Object arg)
Delegate to the appropriate method of the underlying logger.
voidinfo(String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.
voidinfo(String format, Object[] argArray)
Delegate to the appropriate method of the underlying logger.
voidinfo(String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.
voidinfo(Marker marker, String msg)
Delegate to the appropriate method of the underlying logger.
voidinfo(Marker marker, String format, Object arg)
Delegate to the appropriate method of the underlying logger.
voidinfo(Marker marker, String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.
voidinfo(Marker marker, String format, Object[] argArray)
Delegate to the appropriate method of the underlying logger.
voidinfo(Marker marker, String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.
booleanisDebugEnabled()
Delegate to the appropriate method of the underlying logger.
booleanisDebugEnabled(Marker marker)
Delegate to the appropriate method of the underlying logger.
booleanisErrorEnabled()
Delegate to the appropriate method of the underlying logger.
booleanisErrorEnabled(Marker marker)
Delegate to the appropriate method of the underlying logger.
booleanisInfoEnabled()
Delegate to the appropriate method of the underlying logger.
booleanisInfoEnabled(Marker marker)
Delegate to the appropriate method of the underlying logger.
booleanisTraceEnabled()
Delegate to the appropriate method of the underlying logger.
booleanisTraceEnabled(Marker marker)
Delegate to the appropriate method of the underlying logger.
booleanisWarnEnabled()
booleanisWarnEnabled(Marker marker)
Delegate to the appropriate method of the underlying logger.
voidtrace(String msg)
Delegate to the appropriate method of the underlying logger.
voidtrace(String format, Object arg)
Delegate to the appropriate method of the underlying logger.
voidtrace(String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.
voidtrace(String format, Object[] argArray)
Delegate to the appropriate method of the underlying logger.
voidtrace(String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.
voidtrace(Marker marker, String msg)
Delegate to the appropriate method of the underlying logger.
voidtrace(Marker marker, String format, Object arg)
Delegate to the appropriate method of the underlying logger.
voidtrace(Marker marker, String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.
voidtrace(Marker marker, String format, Object[] argArray)
Delegate to the appropriate method of the underlying logger.
voidtrace(Marker marker, String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.
voidwarn(String msg)
Delegate to the appropriate method of the underlying logger.
voidwarn(String format, Object arg)
Delegate to the appropriate method of the underlying logger.
voidwarn(String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.
voidwarn(String format, Object[] argArray)
Delegate to the appropriate method of the underlying logger.
voidwarn(String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.
voidwarn(Marker marker, String msg)
Delegate to the appropriate method of the underlying logger.
voidwarn(Marker marker, String format, Object arg)
Delegate to the appropriate method of the underlying logger.
voidwarn(Marker marker, String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.
voidwarn(Marker marker, String format, Object[] argArray)
Delegate to the appropriate method of the underlying logger.
voidwarn(Marker marker, String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.

Constructor Detail

LoggerWrapper

public LoggerWrapper(Logger logger, String fqcn)

Method Detail

debug

public void debug(String msg)
Delegate to the appropriate method of the underlying logger.

debug

public void debug(String format, Object arg)
Delegate to the appropriate method of the underlying logger.

debug

public void debug(String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.

debug

public void debug(String format, Object[] argArray)
Delegate to the appropriate method of the underlying logger.

debug

public void debug(String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.

debug

public void debug(Marker marker, String msg)
Delegate to the appropriate method of the underlying logger.

debug

public void debug(Marker marker, String format, Object arg)
Delegate to the appropriate method of the underlying logger.

debug

public void debug(Marker marker, String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.

debug

public void debug(Marker marker, String format, Object[] argArray)
Delegate to the appropriate method of the underlying logger.

debug

public void debug(Marker marker, String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.

error

public void error(String msg)
Delegate to the appropriate method of the underlying logger.

error

public void error(String format, Object arg)
Delegate to the appropriate method of the underlying logger.

error

public void error(String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.

error

public void error(String format, Object[] argArray)
Delegate to the appropriate method of the underlying logger.

error

public void error(String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.

error

public void error(Marker marker, String msg)
Delegate to the appropriate method of the underlying logger.

error

public void error(Marker marker, String format, Object arg)
Delegate to the appropriate method of the underlying logger.

error

public void error(Marker marker, String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.

error

public void error(Marker marker, String format, Object[] argArray)
Delegate to the appropriate method of the underlying logger.

error

public void error(Marker marker, String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.

getName

public String getName()
Delegate to the appropriate method of the underlying logger.

info

public void info(String msg)
Delegate to the appropriate method of the underlying logger.

info

public void info(String format, Object arg)
Delegate to the appropriate method of the underlying logger.

info

public void info(String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.

info

public void info(String format, Object[] argArray)
Delegate to the appropriate method of the underlying logger.

info

public void info(String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.

info

public void info(Marker marker, String msg)
Delegate to the appropriate method of the underlying logger.

info

public void info(Marker marker, String format, Object arg)
Delegate to the appropriate method of the underlying logger.

info

public void info(Marker marker, String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.

info

public void info(Marker marker, String format, Object[] argArray)
Delegate to the appropriate method of the underlying logger.

info

public void info(Marker marker, String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.

isDebugEnabled

public boolean isDebugEnabled()
Delegate to the appropriate method of the underlying logger.

isDebugEnabled

public boolean isDebugEnabled(Marker marker)
Delegate to the appropriate method of the underlying logger.

isErrorEnabled

public boolean isErrorEnabled()
Delegate to the appropriate method of the underlying logger.

isErrorEnabled

public boolean isErrorEnabled(Marker marker)
Delegate to the appropriate method of the underlying logger.

isInfoEnabled

public boolean isInfoEnabled()
Delegate to the appropriate method of the underlying logger.

isInfoEnabled

public boolean isInfoEnabled(Marker marker)
Delegate to the appropriate method of the underlying logger.

isTraceEnabled

public boolean isTraceEnabled()
Delegate to the appropriate method of the underlying logger.

isTraceEnabled

public boolean isTraceEnabled(Marker marker)
Delegate to the appropriate method of the underlying logger.

isWarnEnabled

public boolean isWarnEnabled()

isWarnEnabled

public boolean isWarnEnabled(Marker marker)
Delegate to the appropriate method of the underlying logger.

trace

public void trace(String msg)
Delegate to the appropriate method of the underlying logger.

trace

public void trace(String format, Object arg)
Delegate to the appropriate method of the underlying logger.

trace

public void trace(String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.

trace

public void trace(String format, Object[] argArray)
Delegate to the appropriate method of the underlying logger.

trace

public void trace(String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.

trace

public void trace(Marker marker, String msg)
Delegate to the appropriate method of the underlying logger.

trace

public void trace(Marker marker, String format, Object arg)
Delegate to the appropriate method of the underlying logger.

trace

public void trace(Marker marker, String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.

trace

public void trace(Marker marker, String format, Object[] argArray)
Delegate to the appropriate method of the underlying logger.

trace

public void trace(Marker marker, String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.

warn

public void warn(String msg)
Delegate to the appropriate method of the underlying logger.

warn

public void warn(String format, Object arg)
Delegate to the appropriate method of the underlying logger.

warn

public void warn(String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.

warn

public void warn(String format, Object[] argArray)
Delegate to the appropriate method of the underlying logger.

warn

public void warn(String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.

warn

public void warn(Marker marker, String msg)
Delegate to the appropriate method of the underlying logger.

warn

public void warn(Marker marker, String format, Object arg)
Delegate to the appropriate method of the underlying logger.

warn

public void warn(Marker marker, String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.

warn

public void warn(Marker marker, String format, Object[] argArray)
Delegate to the appropriate method of the underlying logger.

warn

public void warn(Marker marker, String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.
Copyright © 2005-2009 QOS.ch. All Rights Reserved.