Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

Logger Members

Logger overview

Public Instance Properties

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

Public Instance Methods

AddAppender Add newAppender to the list of appenders of this Logger instance.
CloseNestedAppenders Closes all attached appenders implementing the IAppenderAttachable interface.
Equals (inherited from Object)
GetAppender Look for the appender named as name
GetHashCode (inherited from Object)
GetType (inherited from Object)
IsEnabledFor Checks if this logger is enabled for a given Level passed as parameter.
LogOverloaded. This generic form is intended to be used by wrappers.
RemoveAllAppenders Remove all previously added appenders from this Logger instance.
RemoveAppenderOverloaded. Remove the appender passed as parameter form the list of appenders.
ToString (inherited from Object)

Protected Instance Constructors

Logger Constructor This constructor created a new Logger instance and sets its name.

Protected Instance Methods

CallAppenders Deliver the LoggingEvent to the attached appenders.
Finalize (inherited from Object)
ForcedLogOverloaded. Creates a new logging event and logs the event without further checks.
MemberwiseClone (inherited from Object)

See Also

Logger Class | log4net.Repository.Hierarchy Namespace