An NDoc Documented Class Library

Logger Methods

The methods of the Logger class are listed below. For a complete list of Logger class members, see the Logger Members topic.

Public Static Methods

AddAppender Add an appender to our list
GetLoggerOverloaded. Get a logger for the supplied class
RemoveAppender Remove an appender from our list
Shutdown Close and remove all appenders and loggers

Public Instance Methods

DebugOverloaded. Log a debug level message
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
ErrorOverloaded. Log an error level message
FatalOverloaded. Log a fatal level message
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
InfoOverloaded. Log an info level message
IsEnabledFor Is logging enabled for the supplied level?
Log Log a message using the given level.
LogObject Logs the public properties of an object.
ToString (inherited from Object) Returns a String that represents the current Object.
WarnOverloaded. Log a warning level message

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Logger Class | EnterpriseDT.Util.Debug Namespace