Closed kammce closed 4 years ago
The constexpr if logic for logs is flipped Needs to be >=
rather than <=
The default include directories are not correct and are undefined variables. Maybe we need to set something that breaks the makefile if undefined variables are used.
This seems to be a way to force make to quit if variables are used before they are created.
Describe the bug
Changing log levels in project_config.hpp does nothing.
To Reproduce
define SJ2_LOG_LEVEL SJ2_LOG_LEVEL_NONESET
define SJ2_LOG_LEVEL SJ2_LOG_LEVEL_DEBUG
define SJ2_LOG_LEVEL SJ2_LOG_LEVEL_INFO
Expected behavior
define SJ2_LOG_LEVEL SJ2_LOG_LEVEL_NONESET: should show no logs
define SJ2_LOG_LEVEL SJ2_LOG_LEVEL_DEBUG: should show just debug logs
define SJ2_LOG_LEVEL SJ2_LOG_LEVEL_INFO: should show debug and info logs