MyGit

v1.6.0

gabime/spdlog

版本发布时间: 2020-05-15 21:18:24

gabime/spdlog最新发布版本:v1.14.1(2024-04-30 20:34:26)

What's new

#include "spdlog/cfg/env.h"
...
spdlog::cfg::load_env_levels(); 
$ # set log level to debug
$  SPDLOG_LEVEL=debug && ./example

$ # set to info except for mylogger which is set to trace:
$ SPDLOG_LEVEL=info,mylogger=trace  && ./example

$ # turn off all logging except for mylogger which is set to debug::
$ SPDLOG_LEVEL=off,mylogger=debug && ./example
#include "spdlog/cfg/argv.h"
...
spdlog::cfg::load_argv_levels(argc, argv);

Fixes and Improvements

相关地址:原始地址 下载(tar) 下载(zip)

查看:2020-05-15发行的版本