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

Basic logging utilities and filtering #925

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

iamhatesz
Copy link
Contributor

Description

This is a PR solving issues described in #835

In summary:

  • stick with the standard library: logging and warnings
  • setup_logger utility to initialize supervision loggers
  • TimeBetweenOccurrencesFilter to use when we need to control the frequency of logging events

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How has this change been tested, please provide a testcase or example of how you tested the change?

There are unit tests testing this functionality.

Any specific deployment considerations

Once we agree on the final interface, I'll make changes to the docs.

Docs

  • Docs updated? What were the changes:

@onuralpszr onuralpszr self-requested a review February 28, 2024 13:23
@onuralpszr onuralpszr added the api:logger Supervision Logging label Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api:logger Supervision Logging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants