The methods of the Logger class are listed below. For a complete list of Logger class members, see the Logger Members topic.
![]() AddAppender | Add an appender to our list |
![]() ClearAppenders | Close and remove all appenders |
![]() ClearTag | |
![]() GetLogger | Overloaded. Get a logger for the supplied class |
![]() RemoveAppender | Remove an appender from our list |
![]() SetTag | |
![]() Shutdown | Close and remove all appenders and loggers |
Debug | Overloaded. Log a debug level message |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
Error | Overloaded. Log an error level message |
Fatal | Overloaded. 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. |
Info | Overloaded. 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. |
Warn | Overloaded. Log an warning level message |
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. |