Waybar
Waybar copied to clipboard
set log level first in main
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?