mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Refactored to cfg::log_levels class
This commit is contained in:
@@ -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");
|
||||
|
Reference in New Issue
Block a user