RootLogger Methods
RootLogger MethodsApache log4net™ SDK Documentation

The RootLogger type exposes the following members.

Methods

  NameDescription
Public methodAddAppender
Add newAppender to the list of appenders of this Logger instance.
(Inherited from Logger.)
Protected methodCallAppenders
Deliver the LoggingEvent to the attached appenders.
(Inherited from Logger.)
Public methodCloseNestedAppenders
Closes all attached appenders implementing the IAppenderAttachable interface.
(Inherited from Logger.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodForcedLog(LoggingEvent)
Creates a new logging event and logs the event without further checks.
(Inherited from Logger.)
Protected methodForcedLog(Type, Level, Object, Exception)
Creates a new logging event and logs the event without further checks.
(Inherited from Logger.)
Public methodGetAppender
Look for the appender named as name
(Inherited from Logger.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsEnabledFor
Checks if this logger is enabled for a given Level passed as parameter.
(Inherited from Logger.)
Public methodLog(LoggingEvent)
This is the most generic printing method that is intended to be used by wrappers.
(Inherited from Logger.)
Public methodLog(Level, Object, Exception)
This is the most generic printing method. This generic form is intended to be used by wrappers
(Inherited from Logger.)
Public methodLog(Type, Level, Object, Exception)
This generic form is intended to be used by wrappers.
(Inherited from Logger.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveAllAppenders
Remove all previously added appenders from this Logger instance.
(Inherited from Logger.)
Public methodRemoveAppender(String)
Remove the appender passed as parameter form the list of appenders.
(Inherited from Logger.)
Public methodRemoveAppender(IAppender)
Remove the appender passed as parameter form the list of appenders.
(Inherited from Logger.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
See Also

Reference