public interface LogTarget
Log class
and will then receive logging messages generated by the code.| Modifier and Type | Field and Description |
|---|---|
static int |
DEBUG
Loglevel DEBUG.
|
static int |
ERROR
Loglevel ERROR.
|
static int |
INFO
Loglevel INFO.
|
static java.lang.String[] |
LEVELS
Strings for the log levels.
|
static int |
WARN
Loglevel WARN.
|
| Modifier and Type | Method and Description |
|---|---|
void |
log(int level,
java.lang.Object message)
Logs a message at a specified log level.
|
void |
log(int level,
java.lang.Object message,
java.lang.Exception e)
Logs a message at a specified log level.
|
static final int ERROR
static final int WARN
static final int INFO
static final int DEBUG
static final java.lang.String[] LEVELS
void log(int level,
java.lang.Object message)
level - the log level.message - the log message.void log(int level,
java.lang.Object message,
java.lang.Exception e)
level - the log level.message - the log message.e - the exception