Open nullstalgia opened 3 months ago
In my app, which is meant to primarily run on Windows targets, I'm using fast_log and have been mostly happy with it.
However, I've noticed that when line numbers are shown, the slash direction is very inconsistent.
2024-08-05 18:33:42.7056249 [INFO] [src\app.rs:303] Sending shutdown signal to threads! 2024-08-05 18:33:42.7056667 [DEBUG] [src\app.rs:328] Joining OSC thread 2024-08-05 18:33:42.7056977 [INFO] [src\heart_rate_dummy.rs:60] Shutting down Dummy thread! 2024-08-05 18:33:42.7057416 [INFO] [src\osc.rs:326] Shutting down OSC thread! 2024-08-05 18:33:42.7058752 [DEBUG] [src\app.rs:342] Joining Dummy thread 2024-08-05 18:33:42.7058867 [INFO] [src/main.rs:83] Shutting down gracefully... 2024-08-05 18:37:57.8477734 [INFO] [src/main.rs:63] Starting app... 2024-08-05 18:37:57.8482919 [DEBUG] [src/app.rs:277] Spawning Dummy thread 2024-08-05 18:37:57.8483503 [DEBUG] [src/app.rs:251] Spawning OSC thread 2024-08-05 18:38:00.0461669 [INFO] [src/app.rs:303] Sending shutdown signal to threads!
It seems like it could be fixed with a simple .replace("\\", "/") in formats.rs, but I'm not sure if that's the ideal solution. :)
.replace("\\", "/")
In my app, which is meant to primarily run on Windows targets, I'm using fast_log and have been mostly happy with it.
However, I've noticed that when line numbers are shown, the slash direction is very inconsistent.
It seems like it could be fixed with a simple
.replace("\\", "/")
in formats.rs, but I'm not sure if that's the ideal solution. :)