Consumes and processes log messages.
Declared in <folly/logging/LogHandler.h>
class LogHandler;
| Name | Description |
|---|---|
~LogHandler [destructor] [virtual] | Destroy the LogHandler. |
flush [virtual] | Block until all messages that have already been sent to this LogHandler have been processed. |
getConfig [virtual] | Return a LogHandlerConfig object describing the configuration of this LogHandler. |
handleMessage [virtual] | handleMessage() is called when a log message is processed by a LogCategory that this handler is attached to. |
| Name | Description |
|---|---|
StandardLogHandler | StandardLogHandler is a LogHandler implementation that uses a LogFormatter class to serialize the LogMessage into a string, and then gives it to a LogWriter object. |