MockLogger ClassDelta Engine Documentation
Simply logs to a public property used in unit testing. View code on GitHub
Inheritance Hierarchy

System Object
  DeltaEngine.Core Logger
    DeltaEngine.Mocks MockLogger
      DeltaEngine.Tests.Core LoggerTests AnotherLogger

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

public class MockLogger : Logger

The MockLogger type exposes the following members.

Constructors

  NameDescription
Public methodMockLogger
Initializes a new instance of the MockLogger class
Top
Methods

  NameDescription
Protected methodCreateMessageTypePrefix (Inherited from Logger.)
Public methodDispose (Inherited from Logger.)
Public methodWrite (Overrides Logger Write(Logger MessageType, String).)
Top
Fields

  NameDescription
Public fieldStatic memberLines
Top
Properties

  NameDescription
Public propertyLastMessage (Inherited from Logger.)
Public propertyNumberOfMessages
Public propertyNumberOfRepeatedMessagesIgnored (Inherited from Logger.)
Top
See Also