Commit 281f7fd
authored
feat(logger): implement addFilter/removeFilter to address static typing errors (#3380)
* fix(parameters): make cache aware of single vs multiple calls
Signed-off-by: heitorlessa <lessa@amazon.co.uk>
* chore: cleanup, add test for single and nested
Signed-off-by: heitorlessa <lessa@amazon.co.uk>
* feat(logger): add logFilter method
* chore(logger): test addFilter
* feat(logger): add removeFilter
* chore: ignore sonar false positive
* chore: minor typing correction that cpython didn't have
---------
Signed-off-by: heitorlessa <lessa@amazon.co.uk>1 parent b20bbe8 commit 281f7fd
File tree
2 files changed
+33
-1
lines changed- aws_lambda_powertools/logging
- tests/functional
2 files changed
+33
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
507 | 507 | | |
508 | 508 | | |
509 | 509 | | |
510 | | - | |
| 510 | + | |
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
| |||
683 | 683 | | |
684 | 684 | | |
685 | 685 | | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
686 | 692 | | |
687 | 693 | | |
688 | 694 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
1076 | 1077 | | |
1077 | 1078 | | |
1078 | 1079 | | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
0 commit comments