Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent slash directions on Windows when line numbers shown #37

Open
nullstalgia opened this issue Aug 6, 2024 · 0 comments
Open

Comments

@nullstalgia
Copy link

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. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant