public class ConsoleHandler
extends java.util.logging.Handler
Modifier and Type | Field and Description |
---|---|
protected OutputStreamSwitcher |
oss |
Constructor and Description |
---|
ConsoleHandler() |
Modifier and Type | Method and Description |
---|---|
void |
activateSwitching() |
void |
close() |
void |
desactivateSwitching(java.io.OutputStream newOut) |
void |
flush() |
void |
publish(java.util.logging.LogRecord record) |
void |
setOutput(java.io.OutputStream out)
Assign the Outputstream by calling a protected method from the super
class.
|
protected OutputStreamSwitcher oss
public void desactivateSwitching(java.io.OutputStream newOut)
public void activateSwitching()
public void setOutput(java.io.OutputStream out) throws java.lang.SecurityException
java.lang.SecurityException
public void publish(java.util.logging.LogRecord record)
publish
in class java.util.logging.Handler
public void flush()
flush
in class java.util.logging.Handler
public void close() throws java.lang.SecurityException
close
in class java.util.logging.Handler
java.lang.SecurityException