We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 414d91a commit 1f6052aCopy full SHA for 1f6052a
logback/README.md
@@ -55,3 +55,12 @@ in the previous step.
55
<appender-ref ref="ASYNC" />
56
</root>
57
```
58
+
59
+## Adding Custom Arguments to JSON Log
60
61
+As of `com.newrelic.logging:logback:2.3` you can add custom arguments in the JSON log for logback as follows:
62
63
+```
64
+import static com.newrelic.logging.logback.CustomArgument.keyValue;
65
+logger.info("Custom log", keyValue("customKey", "customValue"));
66
0 commit comments