Releases: lasersquad0/LogEngine2
Releases · lasersquad0/LogEngine2
Version 1.05 Released!
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
C++ LogEngine2 library version 1.04 released!
We have released new version of C++ LogEnigne2 Library.
It contains a bunch of exciting improvements:
- Added example.cpp containing the most common use-cases of LogEngine2.
- Updated README.md with detailed project description and usage samples
- Added CallbackSink sink that will be very be useful when you need more flexibility for sending logs into non-standard locations.
- Added possibility to initialize logger with list of existing sinks (see function GetMultiLogger())
- Added version defines LOGENGINE_VER_MAJOR, LOGENGINE_VER_MINOR, LOGENGINE_VER_PATCH. Useful when you want to log LogEngine2 version number into log file.
- AsyncMode now works in all LogFmt functions
- Added new file mode into TFileStream class - fmWriteTrunc
- Improved iterators for THarray and THash classes to better follow LogEngine2 requirements
- Added more unit tests that covered new functionality and helped us to catch up several bugs.
Give it a try and let us know how it goes!