Inheritance Hierarchy
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
The LogServiceTests type exposes the following members.
Constructors
Name | Description | |
---|---|---|
LogServiceTests | Initializes a new instance of the LogServiceTests class |
Methods
Name | Description | |
---|---|---|
CreateLogService | ||
DisposeLogService | ||
LogError | ||
LogWarning | ||
WriteInfo |
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