Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix logic for skipping preamble header with loguru
- The previous logic hacked the `g_stderr_verbosity` boolean to make loguru skip preamble header output during the `loguru::init` call. - After the change from 12d82bb, the `g_stderr_verbosity` was left in an inconsistent `WARNING` value when `argc == 0`. - This commit fixes the logic by using the `loguru::g_preamble` variable to turn off preamble output during init. The state of this boolean is restored to it's previous value after init.
- Loading branch information