net.sf.statcvs.util

Class ConsoleOutErrHandler


public class ConsoleOutErrHandler
extends Handler

Customized console logging 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.

Version:
$Id: ConsoleOutErrHandler.java,v 1.3 2008/04/02 11:22:15 benoitx Exp $
Author:
Richard Cyganiak

Constructor Summary

ConsoleOutErrHandler()
Constructor for ConsoleOutErrHandler.

Method Summary

void
close()
void
flush()
void
publish(LogRecord record)

Constructor Details

ConsoleOutErrHandler

public ConsoleOutErrHandler()
Constructor for ConsoleOutErrHandler.

Method Details

close

public void close()
            throws SecurityException

flush

public void flush()

publish

public void publish(LogRecord record)
Parameters:
record - a log record