log4net SDK Reference

RootLogger Members

RootLogger overview

Public Instance Constructors

RootLogger Constructor Construct a RootLogger

Public Instance Properties

Additivity (inherited from Logger) Gets or sets a value indicating if child loggers inherit their parent's appenders.
Appenders (inherited from Logger) Get the appenders contained in this logger as an ICollection.
EffectiveLevel Gets the assigned level value without walking the logger hierarchy.
Hierarchy (inherited from Logger) Gets or sets the Hierarchy where this Logger instance is attached to.
Level Gets or sets the assigned Level for the root logger.
Name (inherited from Logger) Gets the logger name.
Parent (inherited from Logger) Gets or sets the parent logger in the hierarchy.
Repository (inherited from Logger) Gets the ILoggerRepository where this Logger instance is attached to.

Public Instance Methods

AddAppender (inherited from Logger) Add newAppender to the list of appenders of this Logger instance.
CloseNestedAppenders (inherited from Logger) Closes all attached appenders implementing the IAppenderAttachable interface.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetAppender (inherited from Logger) Look for the appender named as name
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.
IsEnabledFor (inherited from Logger) Checks if this logger is enabled for a given Level passed as parameter.
Log (inherited from Logger)Overloaded. This is the most generic printing method that is intended to be used by wrappers.
RemoveAllAppenders (inherited from Logger) Remove all previously added appenders from this Logger instance.
RemoveAppender (inherited from Logger)Overloaded. Remove the appender passed as parameter form the list of appenders.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

CallAppenders (inherited from Logger) Deliver the LoggingEvent to the attached appenders.
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.
ForcedLog (inherited from Logger)Overloaded. Creates a new logging event and logs the event without further checks.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

RootLogger Class | log4net.Repository.Hierarchy Namespace