Modifier and Type | Field and Description |
---|---|
private static final long | |
private static final boolean |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
public void | debug(Throwable
the exception (throwable) to log t)Implements io. |
public void | error(Throwable
the exception (throwable) to log t)Implements io. |
public void | info(Throwable
the exception (throwable) to log t)Implements io. |
public boolean | isEnabled(InternalLogLevel level)
Implements io. level ?
|
public void | log(InternalLogLevel level, String
the message string to be logged msg)Implements io. level .
|
public void | log(InternalLogLevel level, String
the format string format, Object the argument arg)Implements io. level according to the specified format
and argument.
|
public void | log(InternalLogLevel level, String
the format string format, Object the first argument argA, Object the second argument argB)Implements io. level according to the specified format
and arguments.
|
public void | log(InternalLogLevel level, String
the format string format, Object... a list of 3 or more arguments arguments)Implements io. level according to the specified format
and arguments.
|
public void | log(InternalLogLevel level, String
the message accompanying the exception msg, Throwable the exception (throwable) to log t)Implements io. level with an
accompanying message.
|
public void | log(InternalLogLevel level, Throwable
the exception (throwable) to log t)Implements io. level .
|
public String | name()
Implements io. InternalLogger instance.
|
private static Level | |
public void | trace(Throwable
the exception (throwable) to log t)Implements io. |
public void | warn(Throwable
the exception (throwable) to log t)Implements io. |
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID Hides org. |
VARARGS_ONLY | back to summary |
---|---|
private static final boolean VARARGS_ONLY |
Log4J2Logger | back to summary |
---|---|
pack-priv Log4J2Logger(Logger logger) |
debug | back to summary |
---|---|
public void debug(Throwable t) Implements io. Doc from io. Log an exception (throwable) at the DEBUG level. |
error | back to summary |
---|---|
public void error(Throwable t) Implements io. Doc from io. Log an exception (throwable) at the ERROR level. |
info | back to summary |
---|---|
public void info(Throwable t) Implements io. Doc from io. Log an exception (throwable) at the INFO level. |
isEnabled | back to summary |
---|---|
public boolean isEnabled(InternalLogLevel level) Implements io. Doc from io. Is the logger instance enabled for the specified
|
log | back to summary |
---|---|
public void log(InternalLogLevel level, String msg) Implements io. Doc from io. Log a message at the specified |
log | back to summary |
---|---|
public void log(InternalLogLevel level, String format, Object arg) Implements io. Doc from io. Log a message at the specified
This form avoids superfluous object creation when the logger
is disabled for the specified |
log | back to summary |
---|---|
public void log(InternalLogLevel level, String format, Object argA, Object argB) Implements io. Doc from io. Log a message at the specified
This form avoids superfluous object creation when the logger
is disabled for the specified |
log | back to summary |
---|---|
public void log(InternalLogLevel level, String format, Object... arguments) Implements io. Doc from io. Log a message at the specified
This form avoids superfluous string concatenation when the logger
is disabled for the specified |
log | back to summary |
---|---|
public void log(InternalLogLevel level, String msg, Throwable t) Implements io. Doc from io. Log an exception (throwable) at the specified |
log | back to summary |
---|---|
public void log(InternalLogLevel level, Throwable t) Implements io. Doc from io. Log an exception (throwable) at the specified |
name | back to summary |
---|---|
public String name() Implements io. Doc from io. Return the name of this |
toLevel | back to summary |
---|---|
private static Level toLevel(InternalLogLevel level) |
trace | back to summary |
---|---|
public void trace(Throwable t) Implements io. Doc from io. Log an exception (throwable) at the TRACE level. |
warn | back to summary |
---|---|
public void warn(Throwable t) Implements io. Doc from io. Log an exception (throwable) at the WARN level. |