LoggerTests LogError Method Delta Engine Documentation

Namespace: DeltaEngine.Tests.Core
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void LogError()
Examples

[Test]
public void LogError()
{
    using (var logger = new MockLogger())
    {
        Logger.Error(new ExternalException());
        Assert.IsTrue(logger.LastMessage.Contains(new ExternalException().Message),
            logger.LastMessage);
    }
}
See Also