Modifier and Type | Field and Description |
---|---|
protected static org.apache.logging.log4j.Level[] |
levels |
protected org.apache.logging.log4j.Logger |
logger |
Constructor and Description |
---|
Log4J2LogImpl(java.lang.Class<?> category) |
Log4J2LogImpl(java.lang.String category) |
Modifier and Type | Method and 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) |
protected final org.apache.logging.log4j.Logger logger
protected static final org.apache.logging.log4j.Level[] levels
public Log4J2LogImpl(java.lang.String category)
public Log4J2LogImpl(java.lang.Class<?> category)
public boolean isFatalEnabled()
isFatalEnabled
in interface Log
public boolean isErrorEnabled()
isErrorEnabled
in interface Log
public boolean isWarnEnabled()
isWarnEnabled
in interface Log
public boolean isInfoEnabled()
isInfoEnabled
in interface Log
public boolean isDebugEnabled()
isDebugEnabled
in interface Log
public boolean isTraceEnabled()
isTraceEnabled
in interface Log
public void trace(java.lang.String msg, java.lang.Object... args)
public void trace(java.lang.String msg, java.lang.Throwable throwable)
public void debug(java.lang.String msg, java.lang.Object... args)
public void debug(java.lang.String msg, java.lang.Throwable throwable)
public void info(java.lang.String msg, java.lang.Object... args)
public void warn(java.lang.String msg, java.lang.Object... args)
public void warn(java.lang.String msg, java.lang.Throwable throwable)
public void error(java.lang.String format, java.lang.Object... args)
public void error(java.lang.String msg, java.lang.Throwable throwable)
public void fatal(java.lang.String msg, java.lang.Object... args)
public void fatal(java.lang.String msg, java.lang.Throwable throwable)
public void setLevel(java.lang.String level)
Log
Copyright © 1998-2020 Red Hat. All Rights Reserved.