6#include <spdlog/spdlog.h>
Settings applied during LogManager::initialize(InitConfig).
Definition init_config.hpp:16
std::vector< std::string > env_prefixes
Prefixes to scan when read_env is true.
Definition init_config.hpp:46
bool read_env
When true, scan the process environment under env_prefixes for <PREFIX>LEVEL, <PREFIX>LEVEL_<NAMESPAC...
Definition init_config.hpp:40
bool structured_json
Emit one JSON object per line via JsonFormatter.
Definition init_config.hpp:51
bool enable_console
Install the colour console sink.
Definition init_config.hpp:25
std::string pattern
spdlog pattern string.
Definition init_config.hpp:31
spdlog::level::level_enum default_level
Default level applied to the root logger and every channel created without an explicit prefix rule.
Definition init_config.hpp:20
bool set_as_spdlog_default
Install the "main" logger as spdlog::default_logger().
Definition init_config.hpp:36