Skip to content

Conversation

@MHendricks
Copy link
Member

  • The preditor.contexts.OverrideConsoleStreams context manager can enable or disable echoing tracebacks, stdout, stderr, results for consoles.
  • You can now define a default logging formatter for a Console instead of having to define it for each entry in logging_handlers. You can still define formatter's for specific logging_handlers.

Checklist

  • I have read the CONTRIBUTING.md document
  • I formatted my changes with black
  • I linted my changes with flake8
  • I have added documentation regarding my changes where necessary
  • Any pre-existing tests continue to pass
  • Additional tests were made covering my changes

Types of Changes

  • Bugfix (change that fixes an issue)
  • New Feature (change that adds functionality)
  • Documentation Update (if none of the other choices apply)

This is used unless logging_handlers defines a formatter.
Enable not specifying a level via logging_handlers.
The `preditor.contexts.OverrideConsoleStreams` context manager can enable
or disable echoing tracebacks, stdout, stderr, results for consoles.
@MHendricks MHendricks force-pushed the mikeh/console_base_update branch from d6cde9e to 8fcfa92 Compare December 12, 2025 01:00
@MHendricks MHendricks merged commit 5ce6325 into main Dec 12, 2025
17 checks passed
@MHendricks MHendricks deleted the mikeh/console_base_update branch December 12, 2025 01:05
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

Successfully merging this pull request may close these issues.

2 participants