| java.lang.Object org.jfree.report.util.SystemOutLogTarget
SystemOutLogTarget | public class SystemOutLogTarget implements LogTarget,Serializable(Code) | | A log target that sends all log messages to the System.out stream.
author: Thomas Morgner |
Method Summary | |
public void | log(int level, Object message) Logs a message to the main log stream. | public void | log(int level, Object message, Exception e) logs an message to the main-log stream. |
SystemOutLogTarget | public SystemOutLogTarget()(Code) | | The default constructor. Initializes this target with the system.out stream.
All
org.jfree.util.LogTarget implementations need a default constructor.
|
SystemOutLogTarget | public SystemOutLogTarget(PrintStream printStream)(Code) | | The default constructor. Initializes this target with the given stream.
Parameters: printStream - the print stream that is used to write the content. |
log | public void log(int level, Object message)(Code) | | Logs a message to the main log stream. All attached logStreams will also receive this
message. If the given log-level is higher than the given debug-level in the main
config file, no logging will be done.
Parameters: level - log level of the message. Parameters: message - text to be logged. |
log | public void log(int level, Object message, Exception e)(Code) | | logs an message to the main-log stream. All attached logStreams will also receive
this message. If the given log-level is higher than the given debug-level in the main
config file, no logging will be done.
The exception's stacktrace will be appended to the log-stream
Parameters: level - log level of the message. Parameters: message - text to be logged. Parameters: e - the exception, which should be logged. |
|
|