nspectre - declarative validation for .NET

NullLogger Class

NullLogger is an implementation of ILogger used where no logger is passed.

For a list of all members of this type, see NullLogger Members.

System.Object
   NSpectre.Core.Implementation.NullLogger

public class NullLogger : ILogger

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

This class exists so that methods passing an ILogger can be optional and there will be no need for repeated null checks.

Requirements

Namespace: NSpectre.Core.Implementation

Assembly: NSpectre.Core (in NSpectre.Core.dll)

See Also

NullLogger Members | NSpectre.Core.Implementation Namespace