mirror of
https://github.com/godotengine/godot.git
synced 2024-12-21 10:25:24 +08: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. |
||
---|---|---|
.. | ||
dir_access_unix.cpp | ||
dir_access_unix.h | ||
file_access_unix.cpp | ||
file_access_unix.h | ||
ip_unix.cpp | ||
ip_unix.h | ||
mutex_posix.cpp | ||
mutex_posix.h | ||
os_unix.cpp | ||
os_unix.h | ||
packet_peer_udp_posix.cpp | ||
packet_peer_udp_posix.h | ||
rw_lock_posix.cpp | ||
rw_lock_posix.h | ||
SCsub | ||
semaphore_posix.cpp | ||
semaphore_posix.h | ||
socket_helpers.h | ||
stream_peer_tcp_posix.cpp | ||
stream_peer_tcp_posix.h | ||
syslog_logger.cpp | ||
syslog_logger.h | ||
tcp_server_posix.cpp | ||
tcp_server_posix.h | ||
thread_posix.cpp | ||
thread_posix.h |