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

Added Captured and Logot.capture(), enabling custom log capture backends #38

Merged
merged 24 commits into from
Jan 28, 2024

Conversation

etianen
Copy link
Owner

@etianen etianen commented Jan 28, 2024

  • Added Captured, representing an abstract captured log.
  • Added _format internal module, providing shared formatting logic for __str__ implementations.
  • Bulk-renaming to represent decoupling from logging module. 😅
  • Removed log de-duplication, since it's non-portable and shouldn't be a problem for users / is actually a feature.
  • Added "Log capturing" docs page.

This is needed by #28.

@etianen etianen changed the title Added Captured and Capture abstractions Added Captured and Capture abstractions, enabling custom log capture backends Jan 28, 2024
@etianen etianen added the enhancement New feature or request label Jan 28, 2024
@etianen etianen changed the title Added Captured and Capture abstractions, enabling custom log capture backends Added Captured and Logot.capture(), enabling custom log capture backends Jan 28, 2024
@etianen etianen marked this pull request as ready for review January 28, 2024 23:52
@etianen etianen merged commit 6b5e798 into main Jan 28, 2024
8 checks passed
@etianen etianen deleted the dh/capture branch January 28, 2024 23:53
@etianen etianen added the breaking change Breaking change to the public API label Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Breaking change to the public API enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant