aboutsummaryrefslogtreecommitdiff
path: root/core/io/logger.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fixed regression making the logger not respect the max files limit.Michael Alexsander Silva Dias2018-06-121-2/+2
|
* Don't add a period to a log file name if it has no extension.Michael Alexsander Silva Dias2018-05-301-1/+4
|
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Return and repair file loggingRuslan Mustakov2017-11-211-0/+5
| | | | And make it configurable, too.
* Fix rotated logger naming and backup deletionRuslan Mustakov2017-10-201-3/+3
|
* Define va_copy with --std=c++03 (fixes #11979)Ruslan Mustakov2017-10-101-0/+11
|
* Fix logging of long strings via RotatedFileLoggerRuslan Mustakov2017-10-051-1/+4
|
* Extract logging logicRuslan Mustakov2017-09-251-0/+252
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.