Skip to content

Commit 6f82ea9

Browse files
committed
refactor: remove logging.Logger subclassing
1 parent 5a4aa44 commit 6f82ea9

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

aws_lambda_powertools/logging/logger.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,7 @@ def _is_cold_start() -> bool:
6666
return cold_start
6767

6868

69-
# PyCharm does not support autocomplete via getattr
70-
# so we need to return to subclassing removed in #97
71-
# All methods/properties continue to be proxied to inner logger
72-
# https://github.com/awslabs/aws-lambda-powertools-python/issues/107
73-
# noinspection PyRedeclaration
74-
class Logger(logging.Logger): # lgtm [py/missing-call-to-init]
69+
class Logger:
7570
"""Creates and setups a logger to format statements in JSON.
7671
7772
Includes service name and any additional key=value into logs

0 commit comments

Comments
 (0)