FOLLY_INIT_LOGGING_CONFIG

A helper macro to set the default logging configuration in a program.

Synopsis

Declared in <folly/logging/Init.h>

#define FOLLY_INIT_LOGGING_CONFIG(config)

Description

This defines the folly::getBaseLoggingConfig() function, and makes it return the specified string.

This macro should be used at the top-level namespace in a .cpp file in your program.

Parameters

NameDescription
configThe base logging configuration string to return.