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