public abstract class LogHandler extends Handler
LogHandler is installed on the root logger. This parent class will filter all messages
specific to the runtime so they do not get sent to the customer. This class is meant to be
inherited to handle the filtered log messages appropriately.| Modifier and Type | Method and Description |
|---|---|
abstract void |
close() |
abstract void |
flush() |
void |
init(Logger rootLogger)
Initialize the
LogHandler by installing it on the root logger. |
abstract void |
publish(LogRecord record) |
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevelpublic void init(Logger rootLogger)
LogHandler by installing it on the root logger. After this call, log
messages specific to the runtime will be filtered out from being sent to the customer.Copyright © 2022. All rights reserved.