You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Capturing logs across different threads](#capturing-logs-across-different-threads)
64
65
-[Returnable values from LogCaptor](#returnable-values-from-logcaptor)
65
66
3.[Known issues](#known-issues)
66
67
-[Using Log Captor alongside with other logging libraries](#using-log-captor-alongside-with-other-logging-libraries)
@@ -420,6 +421,9 @@ Add `logback-test.xml` to your test resources with the following content:
420
421
</configuration>
421
422
```
422
423
424
+
##### Capturing logs across different threads
425
+
LogCaptor is able to capture logs which are being logged from different threads. The main requirement to correctly capture those logs is to make sure the LogCaptor instance is created within the test method, so basically as a local variable and not as an instance or static variable.
0 commit comments