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

Improve the logging? #17

Open
ngraymon opened this issue Jul 23, 2021 · 6 comments
Open

Improve the logging? #17

ngraymon opened this issue Jul 23, 2021 · 6 comments

Comments

@ngraymon
Copy link
Owner

See this link for logging numbers
maybe we want to define our own custom logging numbers??
i know i probably log more than necessary but it is good to have the option for extreme output when debugging sometime. For example being able to do something like:

if loop_index == 43:
    log.setLevel(0)
else:
    log.setLevel('ERROR')

which only prints the logs from the 43rd loop
image

@ngraymon
Copy link
Owner Author

Interesting stack overflow post

@ngraymon
Copy link
Owner Author

Another stack overflow post

@ngraymon
Copy link
Owner Author

I think LoggerAdapters is what we want....
although the Filters look like they could be useful too....

@ngraymon
Copy link
Owner Author

@ngraymon
Copy link
Owner Author

ngraymon commented Sep 8, 2021

unassigned @ngraymon

@ngraymon ngraymon added enhancement New feature or request long term idea labels Jun 6, 2022
@lhprice
Copy link
Collaborator

lhprice commented Jun 6, 2022

Reminder:

  • Wanted to define new levels of logging to debug certain areas of the code and make the output console log easier to follow
  • Format the headers for each level

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

No branches or pull requests

2 participants