public class PrintStreamLogTarget extends Object implements LogTarget, Serializable
PrintStream
.Constructor and Description |
---|
PrintStreamLogTarget()
The default constructor.
|
PrintStreamLogTarget(PrintStream printStream)
The default constructor.
|
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)