ConsoleLoggerTests WriteInfo 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 WriteInfo()
Examples

[Test]
public void WriteInfo()
{
    using (var logger = new ConsoleLogger())
    {
        Assert.AreEqual("", console.ToString());
        logger.Write(Logger.MessageType.Info, "Hello");
        Assert.IsTrue(console.ToString().Contains("Hello"), console.ToString());
    }
}
See Also