Logger Methods | Apache log4net™ SDK Documentation

The Logger type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| AddAppender | Add newAppender to the list of appenders of this Logger instance.
| CallAppenders | Deliver the LoggingEvent to the attached appenders.
| CloseNestedAppenders | Closes all attached appenders implementing the IAppenderAttachable interface.
| 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.)
| ForcedLog(LoggingEvent) | Creates a new logging event and logs the event without further checks.
| ForcedLog(Type, Level, Object, Exception) | Creates a new logging event and logs the event without further checks.
| GetAppender | Look for the appender named as name
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.)
| GetType | Gets the Type of the current instance. (Inherited from Object.)
| IsEnabledFor | Checks if this logger is enabled for a given Level passed as parameter.
| Log(LoggingEvent) | This is the most generic printing method that is intended to be used by wrappers.
| Log(Level, Object, Exception) | This is the most generic printing method. This generic form is intended to be used by wrappers
| Log(Type, Level, Object, Exception) | This generic form is intended to be used by wrappers.
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.)
| RemoveAllAppenders | Remove all previously added appenders from this Logger instance.
| RemoveAppender(String) | Remove the appender passed as parameter form the list of appenders.
| RemoveAppender(IAppender) | Remove the appender passed as parameter form the list of appenders.
| ToString | Returns a String that represents the current Object. (Inherited from Object.)

Top
See Also

#### Reference

Logger Class
log4net.Repository.Hierarchy Namespace