Skip to content

InMemoryLogBuffer.AssertNoWarningsOrErrors

AssertNoWarningsOrErrors

View source
public void AssertNoWarningsOrErrors()
Asserts that no warnings or errors were logged, throwing an exception if any exist.

Exceptions

System.InvalidOperationException
Thrown when warnings or errors exist in the log.