Releases: nadrino/simple-cpp-logger
Releases · nadrino/simple-cpp-logger
Simple C++ Logger 3.1.0
Simple C++ Logger 3.0.0
- Adding
LoggerInit
that runs a lambda beforemain
. This helps setup parameter pre runtime - Adding
LogScopeIndent
that indent log printouts within a given scope - Adding
LogIf
macros - Adding
LogOnce
macros - Adding
LogThrowIf
,LogContinueIf
- Loads of fixes & optimisations
Full changes can be find here
Simple C++ Logger 2.2.0
- Now it is possible to printout in an ouput file in parallel!
- LOGGER_WRITE_OUTFILE: set to 1 if you want to produce an output file
- LOGGER_OUTFILE_NAME_FORMAT: secify the name of the output file. By default: "{EXE}_{TIME}.log" where {EXE} and {TIME} are replaced with their corresponding value
- LOGGER_OUTFILE_FOLDER: set the folder where you want to write you logs. By default ".". If the folder can't be found, no log file is produced (nor any error message)
Full changes can be find here
Simple C++ Logger 2.1.0
- Now the logger is thread safe! 😄
- Various speed/memory improvement
- Fixing minor formatting issues
Full changes can be find here
Simple C++ Logger 2.0.0
- Default LOGGER_PREFIX_LEVEL is now PRODUCTION
- Adding LOGGER_PREFIX_FORMAT in which you can specify the order of the elements that appear in the prefix
- Now supports properly "\r"
- Moved the implementation file in a dedicated folder
- Various speed/memory improvements
Full changes can be find here
Simple C++ Logger v1.0.1
Adding a prefix getter that take a constructor in argument. To return the logger prefix for a given line/file you can call for example getPrefixString(LogWarning)
. This is usefull if you want to pass the prefix to an external function which uses manual printouts.
Simple C++ Logger v1.0.0
First release of the library.