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

Replace Logger with loguru #29

Open
gerelef opened this issue Dec 17, 2023 · 0 comments
Open

Replace Logger with loguru #29

gerelef opened this issue Dec 17, 2023 · 0 comments

Comments

@gerelef
Copy link
Contributor

gerelef commented Dec 17, 2023

Lay the groundwork for #22 by replacing Logger with loguru.
Logger was introduced as an intermediary step between pure if debug print statements, and a safe & feature-complete Logger implementation.
Now, with #22 in mind, it's time to move away from it, and introduce a multiprocess-safe logger.
Some features (that already exist in our own implementation) are:

And these extra, useful features:

With verbose exceptions, we'll be able to eliminate all Logger.error(...)s with a simple assert, letting the verbose exception show the values that crashed the system runtime.

This supersedes and closes #25

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