Waybar icon indicating copy to clipboard operation
Waybar copied to clipboard

set log level first in main

Open guyuming76 opened this issue 2 years ago • 0 comments

The line
spdlog::set_level(spdlog::level::from_str(log_level)); runs in
client->main(argc, argv);
in main.cpp main

but i want to add some spdlog::debug level log entry before the client->main(argc,argv) call.

I don't know what is the reload for, but is it ok to move the clara argument parsing lines from client->main into the beginning of main in main.cpp and set the log level just after that?

guyuming76 avatar Jul 03 '22 13:07 guyuming76