TextLoggerTests 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()
{
    using (var logger = new TextLogger())
    {
        Logger.Warning("Warning");
        Logger.Warning(new WarningException(""));
        Assert.IsTrue(logger.Log.EndsWith(typeof(WarningException).ToString()), logger.Log);
    }
}
See Also