Package org.jgroups.logging
Class Slf4jLogImpl
- java.lang.Object
-
- org.jgroups.logging.Slf4jLogImpl
-
-
Constructor Summary
Constructors Constructor Description Slf4jLogImpl(java.lang.Class<?> clazz)
Slf4jLogImpl(java.lang.String category)
Slf4jLogImpl(java.util.Locale locale, org.slf4j.Logger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
debug(java.lang.String msg)
void
debug(java.lang.String msg, java.lang.Object... args)
void
debug(java.lang.String msg, java.lang.Throwable throwable)
void
error(java.lang.String msg)
void
error(java.lang.String format, java.lang.Object... args)
void
error(java.lang.String msg, java.lang.Throwable throwable)
void
fatal(java.lang.String msg)
void
fatal(java.lang.String msg, java.lang.Object... args)
void
fatal(java.lang.String msg, java.lang.Throwable throwable)
java.lang.String
getLevel()
void
info(java.lang.String msg)
void
info(java.lang.String msg, java.lang.Object... args)
boolean
isDebugEnabled()
boolean
isErrorEnabled()
boolean
isFatalEnabled()
boolean
isInfoEnabled()
boolean
isTraceEnabled()
boolean
isWarnEnabled()
void
setLevel(java.lang.String level)
Sets the level of a logger.void
trace(java.lang.Object msg)
void
trace(java.lang.String msg)
void
trace(java.lang.String msg, java.lang.Object... args)
void
trace(java.lang.String msg, java.lang.Throwable throwable)
void
warn(java.lang.String msg)
void
warn(java.lang.String msg, java.lang.Object... args)
void
warn(java.lang.String msg, java.lang.Throwable throwable)
-
-
-
Method Detail
-
isFatalEnabled
public boolean isFatalEnabled()
- Specified by:
isFatalEnabled
in interfaceLog
-
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled
in interfaceLog
-
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabled
in interfaceLog
-
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled
in interfaceLog
-
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interfaceLog
-
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabled
in interfaceLog
-
fatal
public void fatal(java.lang.String msg, java.lang.Object... args)
-
fatal
public void fatal(java.lang.String msg, java.lang.Throwable throwable)
-
error
public void error(java.lang.String format, java.lang.Object... args)
-
error
public void error(java.lang.String msg, java.lang.Throwable throwable)
-
warn
public void warn(java.lang.String msg, java.lang.Object... args)
-
warn
public void warn(java.lang.String msg, java.lang.Throwable throwable)
-
info
public void info(java.lang.String msg, java.lang.Object... args)
-
debug
public void debug(java.lang.String msg, java.lang.Object... args)
-
debug
public void debug(java.lang.String msg, java.lang.Throwable throwable)
-
trace
public void trace(java.lang.String msg, java.lang.Object... args)
-
trace
public void trace(java.lang.String msg, java.lang.Throwable throwable)
-
setLevel
public void setLevel(java.lang.String level)
Description copied from interface:Log
Sets the level of a logger. This method is used to dynamically change the logging level of a running system, e.g. via JMX. The appender of a level needs to exist.
-
-