-
Notifications
You must be signed in to change notification settings - Fork 33
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
Logging functionallity #269
Conversation
#248 - use built-in logger instead? |
This now uses logging and the log level can be set by setting |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comments are still weirded :(
Roger. Wait for an update fixing the comments |
This is good. Noting here the So these logging message levels are named, and can be then adjusted to be used. A bit of overlap now with
|
So this does loguru as a dep to analysator but makes it so that the verbosity can be controlled by an env flag/This now uses logging.
export ANALYSATOR_LOG_LEVEL=INFO
will print what used to be printedexport ANALYSATOR_LOG_LEVEL=WARN
will silence any printsprint outs now look like so: