|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.report.util.SystemOutLogTarget
A log target that sends all log messages to the System.out stream.
// todo is now implemented by PrintStreamLogTarget of jcommon
| Field Summary |
| Fields inherited from interface org.jfree.util.LogTarget |
DEBUG, ERROR, INFO, LEVELS, WARN |
| Constructor Summary | |
SystemOutLogTarget()
The default constructor. |
|
SystemOutLogTarget(java.io.PrintStream printStream)
The default constructor. |
|
| Method Summary | |
void |
log(int level,
java.lang.Object message)
Logs a message to the main log stream. |
void |
log(int level,
java.lang.Object message,
java.lang.Exception e)
logs an message to the main-log stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SystemOutLogTarget()
All LogTarget implementations need a default constructor.
public SystemOutLogTarget(java.io.PrintStream printStream)
printStream - the print stream that is used to write the content.| Method Detail |
public void log(int level,
java.lang.Object message)
log in interface org.jfree.util.LogTargetlevel - log level of the message.message - text to be logged.
public void log(int level,
java.lang.Object message,
java.lang.Exception e)
log in interface org.jfree.util.LogTargetlevel - log level of the message.message - text to be logged.e - the exception, which should be logged.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||