org.jboss.slf4j
Class JBossLoggerAdapter
java.lang.Object
org.slf4j.helpers.MarkerIgnoringBase
org.jboss.slf4j.JBossLoggerAdapter
- All Implemented Interfaces:
- Serializable, org.slf4j.Logger, org.slf4j.spi.LocationAwareLogger
public final class JBossLoggerAdapter
- extends org.slf4j.helpers.MarkerIgnoringBase
- implements org.slf4j.spi.LocationAwareLogger
A wrapper over org.jboss.logging.Logger
in conformance with the Logger interface.
Adapted from the corresponding slf4j-log4j adapter.
- Version:
- $Revision: 2784 $
- Author:
- Dimitris Andreadis, James R. Perkins
- See Also:
- Serialized Form
| Fields inherited from interface org.slf4j.spi.LocationAwareLogger |
DEBUG_INT, ERROR_INT, INFO_INT, TRACE_INT, WARN_INT |
| Fields inherited from interface org.slf4j.Logger |
ROOT_LOGGER_NAME |
|
Method Summary |
void |
debug(String msg)
|
void |
debug(String format,
Object... arguments)
|
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... arguments)
|
void |
error(String format,
Object arg)
|
void |
error(String format,
Object arg1,
Object arg2)
|
void |
error(String msg,
Throwable t)
|
void |
info(String msg)
|
void |
info(String format,
Object... arguments)
|
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 fqcn,
int level,
String message,
Object[] argArray,
Throwable t)
|
protected Object |
readResolve()
|
void |
trace(String msg)
|
void |
trace(String format,
Object... arguments)
|
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... arguments)
|
void |
warn(String format,
Object arg)
|
void |
warn(String format,
Object arg1,
Object arg2)
|
void |
warn(String msg,
Throwable t)
|
| Methods inherited from class org.slf4j.helpers.MarkerIgnoringBase |
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 |
| Methods inherited from interface org.slf4j.Logger |
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 |
name
protected String name
log
public void log(org.slf4j.Marker marker,
String fqcn,
int level,
String message,
Object[] argArray,
Throwable t)
- Specified by:
log in interface org.slf4j.spi.LocationAwareLogger
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabled in interface org.slf4j.Logger
trace
public void trace(String msg)
- Specified by:
trace in interface org.slf4j.Logger
trace
public void trace(String format,
Object arg)
- Specified by:
trace in interface org.slf4j.Logger
trace
public void trace(String format,
Object arg1,
Object arg2)
- Specified by:
trace in interface org.slf4j.Logger
trace
public void trace(String format,
Object... arguments)
- Specified by:
trace in interface org.slf4j.Logger
trace
public void trace(String msg,
Throwable t)
- Specified by:
trace in interface org.slf4j.Logger
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled in interface org.slf4j.Logger
debug
public void debug(String msg)
- Specified by:
debug in interface org.slf4j.Logger
debug
public void debug(String format,
Object arg)
- Specified by:
debug in interface org.slf4j.Logger
debug
public void debug(String format,
Object arg1,
Object arg2)
- Specified by:
debug in interface org.slf4j.Logger
debug
public void debug(String format,
Object... arguments)
- Specified by:
debug in interface org.slf4j.Logger
debug
public void debug(String msg,
Throwable t)
- Specified by:
debug in interface org.slf4j.Logger
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled in interface org.slf4j.Logger
info
public void info(String msg)
- Specified by:
info in interface org.slf4j.Logger
info
public void info(String format,
Object arg)
- Specified by:
info in interface org.slf4j.Logger
info
public void info(String format,
Object arg1,
Object arg2)
- Specified by:
info in interface org.slf4j.Logger
info
public void info(String format,
Object... arguments)
- Specified by:
info in interface org.slf4j.Logger
info
public void info(String msg,
Throwable t)
- Specified by:
info in interface org.slf4j.Logger
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabled in interface org.slf4j.Logger
warn
public void warn(String msg)
- Specified by:
warn in interface org.slf4j.Logger
warn
public void warn(String format,
Object arg)
- Specified by:
warn in interface org.slf4j.Logger
warn
public void warn(String format,
Object... arguments)
- Specified by:
warn in interface org.slf4j.Logger
warn
public void warn(String format,
Object arg1,
Object arg2)
- Specified by:
warn in interface org.slf4j.Logger
warn
public void warn(String msg,
Throwable t)
- Specified by:
warn in interface org.slf4j.Logger
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled in interface org.slf4j.Logger
error
public void error(String msg)
- Specified by:
error in interface org.slf4j.Logger
error
public void error(String format,
Object arg)
- Specified by:
error in interface org.slf4j.Logger
error
public void error(String format,
Object arg1,
Object arg2)
- Specified by:
error in interface org.slf4j.Logger
error
public void error(String format,
Object... arguments)
- Specified by:
error in interface org.slf4j.Logger
error
public void error(String msg,
Throwable t)
- Specified by:
error in interface org.slf4j.Logger
readResolve
protected Object readResolve()
throws ObjectStreamException
- Throws:
ObjectStreamException
Copyright © 2016 JBoss by Red Hat. All rights reserved.