StructuredArguments with Exceptions #907
Answered
by
philsttr
jeff-miller-cfa
asked this question in
Q&A
-
What is the best way to log StructuredArguments and Exceptions? When you call |
Beta Was this translation helpful? Give feedback.
Answered by
philsttr
Dec 13, 2022
Replies: 1 comment 1 reply
-
Log exceptions as you normally would with slf4j. Slf4j/logback will interpret the last argument as the exception. (The example you gave is correct) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jeff-miller-cfa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Log exceptions as you normally would with slf4j. Slf4j/logback will interpret the last argument as the exception. (The example you gave is correct)