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 logging #101

Open
integraledelebesgue opened this issue Jan 8, 2025 · 0 comments
Open

Improve logging #101

integraledelebesgue opened this issue Jan 8, 2025 · 0 comments
Labels
framework A general, framework-related topic improvement An improvement of the already existing solution
Milestone

Comments

@integraledelebesgue
Copy link
Member

Issue

The custom Logger isn't valuable in the current form.

We need the following functionalities:

  • A notion of log level, with the possibility to set via CLI
  • Saving logs to file

Additional ideas requiring further specification:

  • Design a context manager that emits logs on enter and exit (it can measure execution time too...). Invoke whole procedures inside this context (or a null context, depending on a flag)
  • Implement specialized logging callbacks for models (e.g. visitors) which will analyze the returned results and inform about errors/Nones
@integraledelebesgue integraledelebesgue converted this from a draft issue Jan 8, 2025
@integraledelebesgue integraledelebesgue added feature New feature or request framework A general, framework-related topic labels Jan 8, 2025
@integraledelebesgue integraledelebesgue added improvement An improvement of the already existing solution and removed feature New feature or request labels Jan 25, 2025
@integraledelebesgue integraledelebesgue added this to the First Release milestone Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
framework A general, framework-related topic improvement An improvement of the already existing solution
Projects
Status: Backlog
Development

No branches or pull requests

1 participant