org.jfree.util
Interface LogTarget
public
interface
LogTarget
An interface that defines a log target (a consumer of log messages). Classes which
implement this interface can be registered with the
Log class
and will then receive logging messages generated by the code.
Author: Thomas Morgner
Field Summary |
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. |
Method Summary |
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.
|
public static final int DEBUG
Loglevel DEBUG.
public static final int ERROR
Loglevel ERROR.
public static final int INFO
Loglevel INFO.
public static final String[] LEVELS
Strings for the log levels.
public static final int WARN
Loglevel WARN.
public void log(int level, Object message)
Logs a message at a specified log level.
Parameters: level the log level. message the log message.
public void log(int level, Object message, Exception e)
Logs a message at a specified log level.
Parameters: level the log level. message the log message. e the exception