We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3cc747 commit db013bfCopy full SHA for db013bf
README.md
@@ -127,7 +127,12 @@ val logger = Logger.takingImplicit[CorrelationId]("test")
127
logger.info("Test") // takes implicit correlationId and logs "ID Test"
128
```
129
130
-It's possible to use `MDC` through `CanLog` without any troubles with execution context.
+If you want to extract the context object associated with your logger i.e. `correlationId` here, use `getContext`.
131
+```scala
132
+val context = logger.canLogEv.getContext
133
+```
134
+
135
+It's also possible to use `MDC` through `CanLog` without any troubles with execution context.
136
137
```scala
138
case class CorrelationId(value: String)
0 commit comments