InternalLogger. This class implements
all methods that have a InternalLogLevel parameter by default to call
specific logger methods such as info(String) or isInfoEnabled().
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final String | |
| private final String | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| protected |
| 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 accompanying the exception msg, Throwable the exception (throwable) to log cause)Implements io. level with an
accompanying message.
|
| public void | log(InternalLogLevel level, Throwable
the exception (throwable) to log cause)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 String | name()
Implements io. InternalLogger instance.
|
| protected Object | |
| public String | |
| public void | trace(Throwable
the exception (throwable) to log t)Implements io. |
| public void | warn(Throwable
the exception (throwable) to log t)Implements io. |
| EXCEPTION_MESSAGE | back to summary |
|---|---|
| pack-priv static final String EXCEPTION_MESSAGE | |
| name | back to summary |
|---|---|
| private final String name | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| AbstractInternalLogger | back to summary |
|---|---|
| protected AbstractInternalLogger(String name) Creates a new instance. | |
| 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, Throwable cause) Implements io. Doc from io. Log an exception (throwable) at the specified | |
| log | back to summary |
|---|---|
| public void log(InternalLogLevel level, Throwable cause) Implements io. Doc from io. Log an exception (throwable) at 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 | |
| name | back to summary |
|---|---|
| public String name() Implements io. Doc from io. Return the name of this | |
| readResolve | back to summary |
|---|---|
| protected Object readResolve() throws ObjectStreamException | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| 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. | |