folly::LoggerDB::updateConfig

Update the current LoggerDB state with the specified LogConfig settings.

Synopsis

Declared in <folly/logging/LoggerDB.h>

void
updateConfig(LogConfig const& config);

Description

Log categories and handlers listed in the LogConfig object will be updated to the new state listed in the LogConfig. Settings on categories and handlers not listed in the config will be left as-is.

Parameters

NameDescription
configThe configuration settings to apply.