gnu.mail.util
Class PrintStreamLogger
Logger
gnu.mail.util.PrintStreamLogger
public class PrintStreamLogger
extends Logger
A logger that writes to the specified print stream.
void | config(String message)
|
void | error(String protocol, Throwable t)
|
PrintStream | getPrintStream() - Returns the underlying print stream used by this logger.
|
void | log(String protocol, String message)
|
PrintStreamLogger
public PrintStreamLogger(PrintStream out)
Constructor.
out
- the underlying print stream to write to
config
public void config(String message)
error
public void error(String protocol,
Throwable t)
getPrintStream
public PrintStream getPrintStream()
Returns the underlying print stream used by this logger.
log
public void log(String protocol,
String message)