An implementation of ILog that writes log events to NUnit.
Build guide: https://github.com/vostok/devtools/blob/master/library-dev-conventions/how-to-build-a-library.md
User documentation: https://vostok.gitbook.io/logging/
Logs can be written to:
-
The context of the test, which is currently running. It is suitable for most of the tests. (
NUnitLogSettings.WithAsyncLocalContext()
) -
The context of the test, in which the log was created. It is suitable for local services and other places where AsyncLocal context can be lost or absent. (
NUnitLogSettings.WithCurrentTestContext()
)