LogServiceTests ClassDelta Engine Documentation
Inheritance Hierarchy

System Object
  DeltaEngine.Logging.Tests LogServiceTests

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

public class LogServiceTests

The LogServiceTests type exposes the following members.

Constructors

  NameDescription
Public methodLogServiceTests
Initializes a new instance of the LogServiceTests class
Top
Methods

  NameDescription
Public methodCreateLogService
Public methodDisposeLogService
Public methodLogError
Public methodLogWarning
Public methodWriteInfo
Top
Examples

[Test]
public void WriteInfo()
{
    service.Log(Logger.MessageType.Info.ToString(), "Hello", "DeltaEngine.Logging.Tests", "");
}
[Test]
public void LogWarning()
{
    service.Log(Logger.MessageType.Warning.ToString(), "Ohoh", "DeltaEngine.Logging.Tests", "");
}
[Test]
public void LogError()
{
    service.Log(Logger.MessageType.Error.ToString(), new NotSupportedException().ToString(),
        "DeltaEngine.Logging.Tests", "");
}
See Also