Click or drag to resize
NullLogger Class
A NullLogger to prevent logging.
Inheritance Hierarchy

Namespace: Colygon.MatchPoint.Common.Logging
Assembly: Colygon.MatchPoint (in Colygon.MatchPoint.dll) Version: 2013.11.0.0
Syntax
C#
public class NullLogger : Logger

The NullLogger type exposes the following members.

Constructors
  NameDescription
Public methodNullLogger
Initializes a new NullLogger instance.
Top
Properties
  NameDescription
Public propertyIsDebugEnabled
Returns true if the trace severity is configured as 'Monitorable'.
(Inherited from Logger.)
Public propertyIsErrorEnabled
Returns true if the trace severity is configured as 'Unexpected'.
(Inherited from Logger.)
Public propertyIsInfoEnabled
Returns true if the trace severity is configured as 'Medium'.
(Inherited from Logger.)
Public propertyIsTraceEnabled
Returns true if the trace severity is configured as 'Verbose'.
(Inherited from Logger.)
Public propertyIsWarnEnabled
Returns true if the trace severity is configured as 'High'.
(Inherited from Logger.)
Top
Methods
  NameDescription
Public methodDebug(String, Object) (Overrides LoggerDebug(String, Object).)
Public methodDebug(UInt16, String, Object) (Overrides LoggerDebug(UInt16, String, Object).)
Public methodDebugException(Exception, String, Object)
Writes an exception resulting from an unusual code path and actions that should be monitored to the trace log.
(Inherited from Logger.)
Public methodDebugException(Exception, UInt16, String, Object)
Writes an event resulting from an unusual code path and actions that should be monitored to the trace log.
(Inherited from Logger.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodError(String, Object) (Overrides LoggerError(String, Object).)
Public methodError(UInt16, String, Object) (Overrides LoggerError(UInt16, String, Object).)
Public methodErrorException(Exception, String, Object)
Writes an 'unexpected' exception to the trace log.
(Inherited from Logger.)
Public methodErrorException(Exception, UInt16, String, Object)
Writes an 'unexpected' exception to the trace log.
(Inherited from Logger.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInfo(String, Object) (Overrides LoggerInfo(String, Object).)
Public methodInfo(UInt16, String, Object) (Overrides LoggerInfo(UInt16, String, Object).)
Public methodInfoException(Exception, String, Object)
Writes an exception with medium-level priority to the trace log.
(Inherited from Logger.)
Public methodInfoException(Exception, UInt16, String, Object)
Writes an exception with medium-level priority to the trace log.
(Inherited from Logger.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTrace(String, Object) (Overrides LoggerTrace(String, Object).)
Public methodTrace(UInt16, String, Object) (Overrides LoggerTrace(UInt16, String, Object).)
Public methodTraceException(Exception, String, Object)
Writes an exception with low-level priority to the trace log.
(Inherited from Logger.)
Public methodTraceException(Exception, UInt16, String, Object)
Writes an event with low-level priority to the trace log.
(Inherited from Logger.)
Public methodWarn(String, Object) (Overrides LoggerWarn(String, Object).)
Public methodWarn(UInt16, String, Object) (Overrides LoggerWarn(UInt16, String, Object).)
Public methodWarnException(Exception, String, Object)
Writes an exception with high-level priority to the trace log.
(Inherited from Logger.)
Public methodWarnException(Exception, UInt16, String, Object)
Writes an exception with low-level priority to the trace log.
(Inherited from Logger.)
Top
Fields
  NameDescription
Protected fieldCategory
Specifies the category and severity for messages that this logger writes.
(Inherited from Logger.)
Public fieldLogPrefix (Inherited from Logger.)
Top
See Also