RootLogger MembersApache log4net™ SDK Documentation
The RootLogger type exposes the following members.
Constructors

  NameDescription
Public methodRootLogger
Construct a RootLogger
Back to Top
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 methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an OnlineObject to attempt to free resources and perform other cleanup operations before the OnlineObject is reclaimed by garbage collection.
(Inherited from OnlineObject.)
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 methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
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 methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
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 methodOnlineToString
Returns a OnlineString that represents the current OnlineObject.
(Inherited from OnlineObject.)
Back to Top
Properties

  NameDescription
Public propertyAdditivity
Gets or sets a value indicating if child loggers inherit their parent's appenders.
(Inherited from Logger.)
Public propertyAppenders
Get the appenders contained in this logger as an OnlineICollection.
(Inherited from Logger.)
Public propertyEffectiveLevel
Gets the assigned level value without walking the logger hierarchy.
(Overrides Logger EffectiveLevel.)
Public propertyHierarchy
Gets or sets the Hierarchy where this Logger instance is attached to.
(Inherited from Logger.)
Public propertyLevel
Gets or sets the assigned Level for the root logger.
(Overrides Logger Level.)
Public propertyName
Gets the logger name.
(Inherited from Logger.)
Public propertyParent
Gets or sets the parent logger in the hierarchy.
(Inherited from Logger.)
Public propertyRepository
Gets the ILoggerRepository where this Logger instance is attached to.
(Inherited from Logger.)
Back to Top
See Also