public class PrintStreamLogTarget extends Object implements LogTarget, Serializable
PrintStream.| Constructor and Description |
|---|
PrintStreamLogTarget()
The default constructor.
|
PrintStreamLogTarget(PrintStream printStream)
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
log(int level,
Object message)
Logs a message to the main log stream.
|
void |
log(int level,
Object message,
Exception e)
logs an message to the main-log stream.
|
public PrintStreamLogTarget()
All LogTarget implementations need a default
constructor.
public PrintStreamLogTarget(PrintStream printStream)
printStream - the print stream that is used to write the content.public void log(int level,
Object message)
public void log(int level,
Object message,
Exception e)
Copyright © 2001–2017 JFree.org. All rights reserved.