folly::LogHandlerFactory

Interface for factories that construct log handlers from config options.

Synopsis

Declared in <folly/logging/LogHandlerFactory.h>

class LogHandlerFactory;

Type Aliases

NameDescription
Options A map of configuration option names to values.

Member Functions

NameDescription
~LogHandlerFactory [destructor] [virtual]Destroys the factory.
createHandler [virtual]Create a new LogHandler.
getType [virtual]Get the type name of this LogHandlerFactory.
updateHandler [virtual]Update an existing LogHandler with a new configuration.

Derived Classes

NameDescription
FileHandlerFactory FileHandlerFactory is a LogHandlerFactory that constructs log handlers that write to a file.
StreamHandlerFactory StreamHandlerFactory is a LogHandlerFactory that constructs log handlers that write to stdout or stderr.