Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
leiwilson
/
powertools-lambda-python
Public
forked from
aws-powertools/powertools-lambda-python
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Files
Expand file tree
develop
Breadcrumbs
powertools-lambda-python
/
examples
/
logger
/
src
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
develop
Breadcrumbs
powertools-lambda-python
/
examples
/
logger
/
src
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
after_clear_state.json
after_clear_state.json
append_and_remove_keys.py
append_and_remove_keys.py
append_and_remove_keys_output.json
append_and_remove_keys_output.json
append_context_keys.json
append_context_keys.json
append_context_keys.py
append_context_keys.py
append_keys.py
append_keys.py
append_keys_extra.py
append_keys_extra.py
append_keys_extra_output.json
append_keys_extra_output.json
append_keys_kwargs.py
append_keys_kwargs.py
append_keys_kwargs_output.json
append_keys_kwargs_output.json
append_keys_output.json
append_keys_output.json
append_keys_vs_extra.py
append_keys_vs_extra.py
append_keys_vs_extra_output.json
append_keys_vs_extra_output.json
before_clear_state.json
before_clear_state.json
bring_your_own_formatter.py
bring_your_own_formatter.py
bring_your_own_formatter_from_scratch.py
bring_your_own_formatter_from_scratch.py
bring_your_own_formatter_from_scratch_output.json
bring_your_own_formatter_from_scratch_output.json
bring_your_own_formatter_output.json
bring_your_own_formatter_output.json
bring_your_own_handler.py
bring_your_own_handler.py
bring_your_own_json_serializer.py
bring_your_own_json_serializer.py
clear_state.py
clear_state.py
clear_state_event_one.json
clear_state_event_one.json
clear_state_event_two.json
clear_state_event_two.json
clear_state_method.py
clear_state_method.py
cloning_logger_config.py
cloning_logger_config.py
date_formatting.py
date_formatting.py
date_formatting_output.json
date_formatting_output.json
enabling_boto_logging.py
enabling_boto_logging.py
fake_lambda_context_for_logger.py
fake_lambda_context_for_logger.py
fake_lambda_context_for_logger_module.py
fake_lambda_context_for_logger_module.py
get_current_keys.py
get_current_keys.py
getting_started_with_buffering_logs.py
getting_started_with_buffering_logs.py
inject_lambda_context.py
inject_lambda_context.py
inject_lambda_context_output.json
inject_lambda_context_output.json
log_incoming_event.py
log_incoming_event.py
logger_reuse.py
logger_reuse.py
logger_reuse_output.json
logger_reuse_output.json
logger_reuse_payment.py
logger_reuse_payment.py
logging_exception_notes.py
logging_exception_notes.py
logging_exception_notes_output.json
logging_exception_notes_output.json
logging_exceptions.py
logging_exceptions.py
logging_exceptions_output.json
logging_exceptions_output.json
logging_inheritance_bad.py
logging_inheritance_bad.py
logging_inheritance_good.py
logging_inheritance_good.py
logging_inheritance_module.py
logging_inheritance_module.py
logging_stacktrace.py
logging_stacktrace.py
logging_stacktrace_output.json
logging_stacktrace_output.json
logging_uncaught_exceptions.py
logging_uncaught_exceptions.py
logging_uncaught_exceptions_output.json
logging_uncaught_exceptions_output.json
observability_provider_builtin_formatters.py
observability_provider_builtin_formatters.py
overriding_log_records.py
overriding_log_records.py
overriding_log_records_output.json
overriding_log_records_output.json
powertools_formatter_setup.py
powertools_formatter_setup.py
remove_keys.py
remove_keys.py
remove_keys_output.json
remove_keys_output.json
reordering_log_keys.py
reordering_log_keys.py
reordering_log_keys_output.json
reordering_log_keys_output.json
sampling_debug_logs_output.json
sampling_debug_logs_output.json
sampling_debug_logs_with_decorator.py
sampling_debug_logs_with_decorator.py
sampling_debug_logs_with_standalone_function.py
sampling_debug_logs_with_standalone_function.py
set_correlation_id.py
set_correlation_id.py
set_correlation_id_event.json
set_correlation_id_event.json
set_correlation_id_jmespath.json
set_correlation_id_jmespath.json
set_correlation_id_jmespath.py
set_correlation_id_jmespath.py
set_correlation_id_jmespath_output.json
set_correlation_id_jmespath_output.json
set_correlation_id_method.json
set_correlation_id_method.json
set_correlation_id_method.py
set_correlation_id_method.py
set_correlation_id_method_output.json
set_correlation_id_method_output.json
set_correlation_id_output.json
set_correlation_id_output.json
setting_log_level_programmatically.py
setting_log_level_programmatically.py
setting_log_level_via_constructor.py
setting_log_level_via_constructor.py
setting_utc_timestamp.py
setting_utc_timestamp.py
setting_utc_timestamp_output.json
setting_utc_timestamp_output.json
thread_safe_append_keys.py
thread_safe_append_keys.py
thread_safe_append_keys_output.json
thread_safe_append_keys_output.json
thread_safe_clear_keys.py
thread_safe_clear_keys.py
thread_safe_clear_keys_output.json
thread_safe_clear_keys_output.json
thread_safe_get_current_keys.py
thread_safe_get_current_keys.py
thread_safe_remove_keys.py
thread_safe_remove_keys.py
thread_safe_remove_keys_output.json
thread_safe_remove_keys_output.json
unserializable_values.py
unserializable_values.py
unserializable_values_output.json
unserializable_values_output.json
working_with_buffering_logs_creating_instance.py
working_with_buffering_logs_creating_instance.py
working_with_buffering_logs_different_levels.py
working_with_buffering_logs_different_levels.py
working_with_buffering_logs_disable_on_error.py
working_with_buffering_logs_disable_on_error.py
working_with_buffering_logs_reusing_function.py
working_with_buffering_logs_reusing_function.py
working_with_buffering_logs_reusing_handler.py
working_with_buffering_logs_reusing_handler.py
working_with_buffering_logs_when_raise_exception.py
working_with_buffering_logs_when_raise_exception.py
View all files
You can’t perform that action at this time.