mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
commit
efbff95ec7
@ -129,7 +129,7 @@ void daily_example()
|
|||||||
#include "spdlog/cfg/env.h"
|
#include "spdlog/cfg/env.h"
|
||||||
void load_levels_example()
|
void load_levels_example()
|
||||||
{
|
{
|
||||||
// Set the log level to "info" and mylogger to to "trace":
|
// Set the log level to "info" and mylogger to "trace":
|
||||||
// SPDLOG_LEVEL=info,mylogger=trace && ./example
|
// SPDLOG_LEVEL=info,mylogger=trace && ./example
|
||||||
spdlog::cfg::load_env_levels();
|
spdlog::cfg::load_env_levels();
|
||||||
// or from command line:
|
// or from command line:
|
||||||
|
Loading…
Reference in New Issue
Block a user