mirror of https://github.com/godotengine/godot
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`. |
||
|---|---|---|
| .. | ||
| core | ||
| data | ||
| python_build | ||
| scene | ||
| servers | ||
| SCsub | ||
| create_test.py | ||
| display_server_mock.h | ||
| test_macros.cpp | ||
| test_macros.h | ||
| test_main.cpp | ||
| test_main.h | ||
| test_tools.h | ||
| test_utils.cpp | ||
| test_utils.h | ||
| test_validate_testing.h | ||