-
Notifications
You must be signed in to change notification settings - Fork 432
refactor(logger): BYOFormatter and Handler, UTC support, and more #404
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
Merged
heitorlessa
merged 21 commits into
aws-powertools:develop
from
heitorlessa:refactor/decouple-formatter
Apr 22, 2021
Merged
Changes from 17 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
082d1d0
chore: simplify handler conditional
heitorlessa 4268e1c
refactor(formatter): reduce dict updates
heitorlessa cbce580
refactor(formatter): prep work for decoupling
heitorlessa 5c8cf72
refactor: allow sampling_rate to be suppressed
heitorlessa 8bf0ab4
refactor(formatter): merge exception formatting methods
heitorlessa b91ee96
refactor(formatter): support std log attr, explicit json default fn
heitorlessa 87f5605
chore: rename test to new powertools formatter
heitorlessa 209220f
feat(formatter): add UTC support
heitorlessa 5a92347
chore: alias previous formatter
heitorlessa a4c9afa
refactor: move None strip to staticmethod, simplify extras
heitorlessa bf50133
refactor: remove unnecessary str coercion
heitorlessa 46913ba
refactor: serializer/deserializer over encoder
heitorlessa 754a2a2
fix: add missing reserved log attrs
heitorlessa 456846a
refactor: add append/remove keys, common properties
heitorlessa 2f828cd
refactor: update methods to use append_keys
heitorlessa 903653f
feat: bring your own formatter
heitorlessa 4345d8b
chore: move public methods up, remove unused test var
heitorlessa b328431
Update aws_lambda_powertools/logging/formatter.py
heitorlessa 8488adc
feat: support custom logger handler
heitorlessa 1a64e8b
Merge branch 'refactor/decouple-formatter' of https://github.com/heit…
heitorlessa a8c5126
chore: update docstrings to inform new parameters
heitorlessa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.