Open infophysics opened 4 years ago
Added LOG LEVELS flags for CMake to be set at compile time. Added NAME() function, but it needs to be implemented in every class. Same for the UniqueID class. Logs need to be reformatted in every class in every method that needs them. Initial changes are in commit b487edf0190b9645a378bc678d9016ade9590011
Update the logging system to use a pre-compiler expression that chooses either a global logger or individual loggers at compile time. This would define the void init() function and the message functions at compile time using some CMake option like -DLOG_LEVEL=GLOBAL, -DLOG_LEVEL=LOCAL.