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 String[] |
LEVELS
Strings for the log levels.
|
static int |
WARN
Loglevel WARN.
|
Modifier and Type | Method and Description |
---|---|
void |
log(int level,
Object message)
Logs a message at a specified log level.
|
void |
log(int level,
Object message,
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 String[] LEVELS
void log(int level, Object message)
level
- the log level.message
- the log message.Copyright © 2001–2018 JFree.org. All rights reserved.