mirror of
https://github.com/godotengine/godot.git
synced 2024-11-26 14:13:10 +00:00
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 | ||
context_gl_win.cpp | ||
context_gl_win.h | ||
crash_handler_win.cpp | ||
crash_handler_win.h | ||
ctxgl_procaddr.cpp | ||
ctxgl_procaddr.h | ||
detect.py | ||
godot_res.rc | ||
godot_win.cpp | ||
godot.ico | ||
joypad.cpp | ||
joypad.h | ||
key_mapping_win.cpp | ||
key_mapping_win.h | ||
lang_table.h | ||
logo.png | ||
os_windows.cpp | ||
os_windows.h | ||
packet_peer_udp_winsock.cpp | ||
packet_peer_udp_winsock.h | ||
platform_config.h | ||
power_windows.cpp | ||
power_windows.h | ||
SCsub | ||
stream_peer_winsock.cpp | ||
stream_peer_winsock.h | ||
tcp_server_winsock.cpp | ||
tcp_server_winsock.h | ||
windows_terminal_logger.cpp | ||
windows_terminal_logger.h |