mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 10:44:26 +00:00
Fixes #97066 `RBSet` were used on `RotatedFileLogger` because it guarantees that iterating it is done via `operator<`. This is important because `RotatedFileLogger` depends on this behavior to delete the oldest log file. On #61194 `HashSet` was added and all `RBSet` uses were replaced by `HashSet`. When that happened, the iteration in order is guaranteed to be the insertion order, wich made that `RotatedFileLogger` delete the newest log file. As a bonus, I added unit test for `RotatedFileLogger` and `CompositeLogger`. |
||
|---|---|---|
| .. | ||
| test_config_file.h | ||
| test_file_access.h | ||
| test_http_client.h | ||
| test_image.h | ||
| test_ip.h | ||
| test_json.h | ||
| test_json_native.h | ||
| test_logger.h | ||
| test_marshalls.h | ||
| test_packet_peer.h | ||
| test_pck_packer.h | ||
| test_resource.h | ||
| test_resource_uid.h | ||
| test_stream_peer.h | ||
| test_stream_peer_buffer.h | ||
| test_tcp_server.h | ||
| test_udp_server.h | ||
| test_xml_parser.h | ||