Consider a configuration like: debug,PeerManager=trace
This will not work because either the call to set the SPDLOG_LEVEL envvar doesn't work on Windows, or the call to read it doesn't work on Windows. Therefore only the initial call to spdlog::cfg::helpers::load_levels(levelstr); is applied from inside initializeLoggers()
Consider a configuration like:
debug,PeerManager=traceThis will not work because either the call to set the
SPDLOG_LEVELenvvar doesn't work on Windows, or the call to read it doesn't work on Windows. Therefore only the initial call tospdlog::cfg::helpers::load_levels(levelstr);is applied from insideinitializeLoggers()