summaryrefslogtreecommitdiff
path: root/core/io/logger.cpp
AgeCommit message (Collapse)Author
2019-02-18Fix parameterised macros in core. Addresses #25488IronicallySerious
This adds the saves the programmer of doing something like SWAP(x++, y--) and getting the wrong result unless the parameters are evaluated before use.
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-11Moved member variables to initializer listWilson E. Alvarez
2018-10-19Fixing warnings generated by MSVCDualtagh Murray
Fixes #22684.
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
2018-06-12Fixed regression making the logger not respect the max files limit.Michael Alexsander Silva Dias
2018-05-30Don't add a period to a log file name if it has no extension.Michael Alexsander Silva Dias
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-11-21Return and repair file loggingRuslan Mustakov
And make it configurable, too.
2017-10-20Fix rotated logger naming and backup deletionRuslan Mustakov
2017-10-10Define va_copy with --std=c++03 (fixes #11979)Ruslan Mustakov
2017-10-05Fix logging of long strings via RotatedFileLoggerRuslan Mustakov
2017-09-25Extract logging logicRuslan Mustakov
Previously logging logic was scattered over OS class implementations with plenty of duplication. Major changes in this commit: - Extracted logging logic into a separate Logger hierarchy. It allows easy configuration of logging mechanism depending on compile-time or run-time configuration. - Implemented RotatedFileLogger which is usually used with StdLogger, providing persistency of logs. It is often important to be able to obtain logs of the game even in production to be able to understand what happened prior to some problem. On mobile there previously was no way to obtain the logs aside from having the device connected to your machine. - flush() is not performed in release mode for every logged line. It is only performed for errors.