Click or drag to resize

Logger Class

Provides functionality for the handling of log messages within the SharePoint ULS trace log.
Inheritance Hierarchy

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

The Logger type exposes the following members.

Properties
  NameDescription
Public propertyIsDebugEnabled
Returns true if the trace severity is configured as 'Monitorable'.
Public propertyIsErrorEnabled
Returns true if the trace severity is configured as 'Unexpected'.
Public propertyIsInfoEnabled
Returns true if the trace severity is configured as 'Medium'.
Public propertyIsTraceEnabled
Returns true if the trace severity is configured as 'Verbose'.
Public propertyIsWarnEnabled
Returns true if the trace severity is configured as 'High'.
Top
Methods
  NameDescription
Public methodDebug(String, Object)
Writes an event resulting from an unusual code path and actions that should be monitored to the trace log.
Public methodDebug(UInt16, String, Object)
Writes an event resulting from an unusual code path and actions that should be monitored to the trace log.
Public methodDebugException(Exception, String, Object)
Writes an exception resulting from an unusual code path and actions that should be monitored to the trace log.
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.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodError(String, Object)
Writes an 'unexpected' event to the trace log.
Public methodError(UInt16, String, Object)
Writes an 'unexpected' event to the trace log.
Public methodErrorException(Exception, String, Object)
Writes an 'unexpected' exception to the trace log.
Public methodErrorException(Exception, UInt16, String, Object)
Writes an 'unexpected' exception to the trace log.
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.)
Protected methodStatic memberFormatExceptionMessage
Returns a formatted string that represents the specified exception and message properties.
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)
Writes an event with medium-level priority to the trace log.
Public methodInfo(UInt16, String, Object)
Writes an event with medium-level priority to the trace log.
Public methodInfoException(Exception, String, Object)
Writes an exception with medium-level priority to the trace log.
Public methodInfoException(Exception, UInt16, String, Object)
Writes an exception with medium-level priority to the trace log.
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)
Writes an event resulting from an unusual code path and actions that should be monitored to the trace log.
Public methodTrace(UInt16, String, Object)
Writes an event with low-level priority to the trace log.
Public methodTraceException(Exception, String, Object)
Writes an exception with low-level priority to the trace log.
Public methodTraceException(Exception, UInt16, String, Object)
Writes an event with low-level priority to the trace log.
Public methodWarn(String, Object)
Writes an event with high-level priority to the trace log.
Public methodWarn(UInt16, String, Object)
Writes an event with high-level priority to the trace log.
Public methodWarnException(Exception, String, Object)
Writes an exception with high-level priority to the trace log.
Public methodWarnException(Exception, UInt16, String, Object)
Writes an exception with low-level priority to the trace log.
Top
Fields
  NameDescription
Protected fieldCategory
Specifies the category and severity for messages that this logger writes.
Public fieldLogPrefix
Top
See Also