Closed
Description
What were you initially searching for in the docs?
I am looking for code examples for logging an error with the exception
Is this related to an existing part of the documentation? Please share a link
https://awslabs.github.io/aws-lambda-powertools-python/core/logger/
Describe how we could make it clearer
Some examples of logging an exception and maybe more examples using other levels. Currently non of the code completion works in PyCharm.
If you have a proposed update, please share it here
Some sample examples or have python stubs to be used with Pycharm or VSCode.
try:
logger.debug("Some which might fail")
except SomeErrorWeSuppress as e:
logger.exception(e)
Metadata
Metadata
Assignees
Type
Projects
Status
Triage