Package org.jgroups.logging
Class Log4J2LogImpl
- java.lang.Object
-
- org.jgroups.logging.Log4J2LogImpl
-
-
Constructor Summary
Constructors Constructor Description Log4J2LogImpl(java.lang.Class<?> category)
Log4J2LogImpl(java.lang.String category)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
debug(java.lang.String msg)
void
debug(java.lang.String format, 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 format, 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 format, 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 format, 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 format, 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
-
trace
public void trace(java.lang.String format, java.lang.Object... args)
-
trace
public void trace(java.lang.String msg, java.lang.Throwable throwable)
-
debug
public void debug(java.lang.String format, java.lang.Object... args)
-
debug
public void debug(java.lang.String msg, java.lang.Throwable throwable)
-
info
public void info(java.lang.String format, java.lang.Object... args)
-
warn
public void warn(java.lang.String format, java.lang.Object... args)
-
warn
public void warn(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)
-
fatal
public void fatal(java.lang.String format, java.lang.Object... args)
-
fatal
public void fatal(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.
-
-