Skip to content

Commit d34d4de

Browse files
committed
feat(logging/logback): add logging docs regarding SLF4J Fluent Logging API
1 parent 01ca395 commit d34d4de

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/core/logging.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,10 @@ You can use Powertools for AWS Lambda Logging with either the `@Logging` annotat
378378
}
379379
```
380380

381+
???+ warning "SLF4J Fluent Logging API"
382+
When using [SLF4J Fluent Logging API](https://www.slf4j.org/manual.html#fluent) **do not add reserved keys** listed in [standard structured keys](#standard-structured-keys) and [additional structured keys](#additional-structured-keys) as key-value pairs via `addKeyValue`.
383+
This may cause unindented behavior.
384+
381385
## Standard structured keys
382386

383387
Your logs will always include the following keys in your structured logging:

0 commit comments

Comments
 (0)