The DebugLogger type exposes the following members.

Constructors

  NameDescription
DebugLogger
Create a new instance of DebugLogger.

Methods

  NameDescription
CreateLogEntry
Create a LogEntry.
(Inherited from Logger.)
DoLog
Send aLogEntry information to System.Diagnostics.Debug.
(Overrides Logger..::.DoLog(LogEntry).)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetDefaultFilter
Create a new filter instance to use for this Logger. Use the DefaultFilterClass property. Subclasses may wish to override.
(Inherited from Logger.)
GetDefaultFormatter
Create a new formatter instance to use for this Logger. Use the DefaultFormatterClass property. Subclasses may wish to override.
(Inherited from Logger.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
LogOverloaded.
LogCriticalOverloaded.
LogDebugOverloaded.
LogErrorOverloaded.
LogFatalOverloaded.
LogInfoOverloaded.
LogStatusOverloaded.
LogWarningOverloaded.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnLoggingError
A convenience method called by Logger instances
(Inherited from Logger.)
ShouldLog
Determine if aLogEntry should be logged
(Inherited from Logger.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
WriteToLog
Write a String to the log. Subclasses can override this to actually write to the log.
(Inherited from Logger.)

Fields

  NameDescription
_application
A String representing the application.
(Inherited from Logger.)
_enabled
A bool indicating if this Logger is enabled or not.
(Inherited from Logger.)
_filter
The filter through which all LogEntries must pass before being logged.
(Inherited from Logger.)
_formatter
A formatter that formats LogEntries before being logged.
(Inherited from Logger.)

Properties

  NameDescription
Application
Gets and sets the Application.
(Inherited from Logger.)
Enabled
Gets and sets the Enabled flag.
(Inherited from Logger.)
Filter
Gets and sets the Filter.
(Inherited from Logger.)
Formatter
Gets and sets the Formatter.
(Inherited from Logger.)
SeverityThreshold
Gets and sets the severity threshold of the filter--the lowest severity which will be logged.
(Inherited from Logger.)

See Also