net.sf.statcvs.util
public class ConsoleOutErrHandler extends Handler
The ConsoleOutErrHandler writes log messages
of severity WARNING and higher to the System.err
stream, and all other log messages to System.out.
It uses a LogFormatter
to format the records.
Constructor and Description |
---|
ConsoleOutErrHandler()
Constructor for ConsoleOutErrHandler.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
void |
publish(LogRecord record) |
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
public ConsoleOutErrHandler()
public void publish(LogRecord record)
publish
in class Handler
record
- a log recordHandler.publish(LogRecord)
public void flush()
flush
in class Handler
Handler.flush()
public void close() throws SecurityException
close
in class Handler
SecurityException
Handler.close()