public class CustomLogHandler extends Handler
| Constructor and Description |
|---|
CustomLogHandler(PrintStream logger,
String uuid)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
publish(LogRecord record) |
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevelpublic CustomLogHandler(PrintStream logger, String uuid)
logger - PrintStream to print messages to.public void close()
throws SecurityException
close in class HandlerSecurityExceptionCopyright © 2018–2022. All rights reserved.