protected class AbstractJavaLogger.ConsoleHandler
extends java.util.logging.Handler
JavaLogger to allow the specification of the desired system console. System.err.setConsole(PrintStream)| Modifier and Type | Field and Description |
|---|---|
private java.io.PrintStream |
console |
| Modifier | Constructor and Description |
|---|---|
protected |
ConsoleHandler()
Constructs a new ConsoleHandler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
publish(java.util.logging.LogRecord record) |
void |
setConsole(java.io.PrintStream console)
Sets the output console of this console logger.
|
public void publish(java.util.logging.LogRecord record)
publish in class java.util.logging.Handlerpublic void flush()
flush in class java.util.logging.Handlerpublic void close()
throws java.lang.SecurityException
close in class java.util.logging.Handlerjava.lang.SecurityExceptionpublic void setConsole(java.io.PrintStream console)
console - Must be System.out or System.err.Copyright © 2009 - 2018 SSE. All Rights Reserved.