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

Make logger work with coloured stdouts #21

Open
ray-chew opened this issue Mar 21, 2024 · 0 comments
Open

Make logger work with coloured stdouts #21

ray-chew opened this issue Mar 21, 2024 · 0 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation
Milestone

Comments

@ray-chew
Copy link
Owner

The logger output looks a bit wonky when the text is coloured, e.g.,

�[33mNext tout = 600.000�[0m
�[32mStarting forecast...�[0m
�[33mFor ensemble member = 0...�[0m

This link might be useful to format the logger for coloured text:
https://stackoverflow.com/questions/13733552/logger-configuration-to-log-to-file-and-print-to-stdout

@ray-chew ray-chew added bug Something isn't working documentation Improvements or additions to documentation labels Mar 21, 2024
@ray-chew ray-chew added this to the Document code milestone Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants