Save This Page
Home » jcommon-1.0.13 » org.jfree.util » [javadoc | source]
org.jfree.util
public interface: LogTarget [javadoc | source]

All Known Implementing Classes:
    PrintStreamLogTarget, LogTargetImpl, SystemOutLogTarget

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.
Field Summary
public static final  int ERROR    Loglevel ERROR. 
public static final  int WARN    Loglevel WARN. 
public static final  int INFO    Loglevel INFO. 
public static final  int DEBUG    Loglevel DEBUG. 
public static final  String[] LEVELS    Strings for the log levels. 
Method from org.jfree.util.LogTarget Summary:
log,   log
Method from org.jfree.util.LogTarget Detail:
 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.