Skip to content

Conversation

@grahamalama
Copy link
Contributor

This PR adds a new MozlogHandler class that sets sensible defaults (subclasses StreamHandler, sets the output to stdout by default) and integrates a Mozlog formatter directly into the handler.

It also renames JsonLogFormatter to MozlogFormatter, since JsonLogFormatter was too generic of a name.

This PR is intended to be fully backwards compatible, though the JsonLogFormatter is marked with a deprecation warning.

@grahamalama grahamalama requested a review from leplatrem April 23, 2024 16:26
leplatrem
leplatrem previously approved these changes Apr 25, 2024
@grahamalama grahamalama requested a review from leplatrem April 25, 2024 18:04
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