Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sf.statcvs.util
Class ConsoleOutErrHandler

    java.lang.Object
      java.util.logging.Handler
          net.sf.statcvs.util.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)`

Methods inherited from class java.util.logging.Handler
`getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ConsoleOutErrHandler

    public ConsoleOutErrHandler()

  Constructor for ConsoleOutErrHandler.

Method Detail

### publish

    public void publish(LogRecord record)

  Parameters:
    `record` - a log record
  See Also:
    `Handler.publish(LogRecord)`

### flush

    public void flush()

  See Also:
    `Handler.flush()`

### close

    public void close()
               throws SecurityException

  Throws:
    `SecurityException`
  See Also:
    `Handler.close()`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD