LoggerTest.

CaptureLogs(IEnumerable<LogEvent>) Method

Summary

Capture log outputs until the item is disposed

Syntax

protected IDisposable CaptureLogs(out IEnumerable<LogEvent> logs)

Parameters

Name Type Description
logs IEnumerable<LogEvent> The output logs

Return Value

Type Description
IDisposable