NetworkLoggerTests LogWarning Method Delta Engine Documentation

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

public void LogWarning()
Examples

[Test]
public void LogWarning()
{
    logger.Write(Logger.MessageType.Warning, "Ohoh");
    ExpectThatServerHasReceivedMessage("Ohoh");
    logger.Write(Logger.MessageType.Warning, new NullReferenceException().ToString());
    ExpectThatServerLastMessageContains("NullReferenceException");
}
See Also