org.objectweb.util.monolog.wrapper.javaLog
Class ConsoleHandler
java.util.logging.Handler
org.objectweb.util.monolog.wrapper.javaLog.ConsoleHandler
public class ConsoleHandler
extends java.util.logging.Handler
The aim of this class is to permit to specify the output for the console
handler of the java.util.logging system.
This console handler is also able to choose the right ouput (System.err
or System.out) depending on the message level.
- S.Chassande-Barrioz
ConsoleHandler
public ConsoleHandler()
activateSwitching
public void activateSwitching()
close
public void close()
throws SecurityException
desactivateSwitching
public void desactivateSwitching(OutputStream newOut)
publish
public void publish(LogRecord record)
setOutput
public void setOutput(OutputStream out)
throws SecurityException
Assign the Outputstream by calling a protected method from the super
class.