spdlog
spdlog copied to clipboard
Log level is not honored with compiler flags like -D_GLIBCXX_DEBUG
I sometimes debug using the compiler flag -D_GLIBCXX_DEBUG, or with -fsanitize=address. When I do, I have noticed that spdlog doesn't honor the logging level and will either print everything or nothing depending on flag/compiler combination.
Here's an example showing the issue with the latest gcc/clang https://godbolt.org/z/4c3h3z
I can't figure out how to reproduce the issue with -fsanitize=address in godbolt at the moment.
Is this expected? Is there something I can do about it?
It is not expected. I wonder why though..