Marcel-Rodekamp / NSL

Nanosystem Simulation Library (NSL) implements statistical simulations for systems on the nanoscale
Other
2 stars 0 forks source link

Logging with spdlog #125

Closed GioPede closed 1 year ago

GioPede commented 1 year ago

Added support for logging and a unified way to print to standard output. CMake should download the most recent (as of today) release version of spdlog, this is tested and will remain fixed unless changed in the cmake/spdlog.cmake file. Three command line options are available: -l : to control the level of logging, by default it is "info" -p : toggles profiling, this will generate a file "NSL_profile.log" with timing information -o : toggles file logging, default is no file output, only standard output

Marcel-Rodekamp commented 1 year ago

Works and compiles for me!