1a2311e350
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. |
||
---|---|---|
.. | ||
export | ||
audio_driver_osx.cpp | ||
audio_driver_osx.h | ||
crash_handler_osx.h | ||
crash_handler_osx.mm | ||
detect.py | ||
dir_access_osx.h | ||
dir_access_osx.mm | ||
godot_main_osx.mm | ||
joypad_osx.cpp | ||
joypad_osx.h | ||
logo.png | ||
os_osx.h | ||
os_osx.mm | ||
platform_config.h | ||
power_osx.cpp | ||
power_osx.h | ||
SCsub | ||
sem_osx.cpp | ||
sem_osx.h |