We have released LogEnigne2 Library version 1.05!
Long awaiting improvements:
- LogEngine2 is now header only library. To use it as header only library define global symbol LOGENGINE_HEADER_ONLY and use #include "LogEgnine.h" in your source files where you need to use logging.
- Added default logger. Now you can simply use LogEngine::Info("some msg") or LogEngine::DebugFmt("some msg {} {}", 2,4) to log messages to console. Default logger is console logger. It can be replaced by any custom logger if needed.
- Thread safe loggers. Use functions GetFileLoggerMT, GetstdoutLoggerMT, etc. for creating thread safe loggers. Please note that thread safe loggers are slower because they use synchronization objects.
- Updated tests according to new functionality.
Give it a try !
Comments, and questions - go to Issues
Full Changelog: v1.04...v1.05