folly::logConfigToDynamic

logConfigToDynamic overloads

Synopses

Declared in <folly/logging/LogConfigParser.h>

Convert a LogCategoryConfig object to a folly::dynamic object.

dynamic
logConfigToDynamic(LogCategoryConfig const& config);
» more...

Convert a LogConfig object to a folly::dynamic object.

dynamic
logConfigToDynamic(LogConfig const& config);
» more...

Convert a LogHandlerConfig object to a folly::dynamic object.

dynamic
logConfigToDynamic(LogHandlerConfig const& config);
» more...

Return Value

  • A folly::dynamic representation of the category configuration.
  • A folly::dynamic representation of the configuration.
  • A folly::dynamic representation of the handler configuration.

Parameters

NameDescription
configThe LogCategoryConfig to convert.