infophysics / EntropicTrajectories

The Entropic Trajectories Framework: Many Body QM Simulations and Analysis.
0 stars 0 forks source link

Logging system #14

Open infophysics opened 4 years ago

infophysics commented 4 years ago

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.

infophysics commented 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