Refactored to cfg::log_levels class

This commit is contained in:
gabime
2019-12-21 15:54:09 +02:00
parent 65ada37399
commit 68ed281461
7 changed files with 68 additions and 52 deletions

View File

@@ -25,9 +25,8 @@ void syslog_example();
int main(int args, char *argv[])
{
spdlog::cfg::init_from_env();
//spdlog::cfg::init_from_env();
spdlog::cfg::init_from_argv(args, argv);
spdlog::debug("HELLO DEBUG");
spdlog::info("HELLO INFO");
auto l1 = spdlog::stderr_color_st("l1");