folly::LogHandler

Consumes and processes log messages.

Synopsis

Declared in <folly/logging/LogHandler.h>

class LogHandler;

Member Functions

NameDescription
~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.

Derived Classes

NameDescription
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.