log4net SDK Reference

Hierarchy Members

Hierarchy overview

Public Instance Constructors

Hierarchy Overloaded. Initializes a new instance of the Hierarchy class.

Public Instance Properties

Configured (inherited from LoggerRepositorySkeleton) Flag indicates if this repository has been configured.
EmittedNoAppenderWarning Has no appender warning been emitted
LevelMap (inherited from LoggerRepositorySkeleton) Get the level map for the Repository.
LoggerFactory Gets or sets the default ILoggerFactory instance.
Name (inherited from LoggerRepositorySkeleton) The name of the repository
PluginMap (inherited from LoggerRepositorySkeleton) The plugin map for this repository.
Properties (inherited from LoggerRepositorySkeleton) Repository specific properties
RendererMap (inherited from LoggerRepositorySkeleton) RendererMap accesses the object renderer map for this repository.
Root Get the root of this hierarchy
Threshold (inherited from LoggerRepositorySkeleton) The threshold for all events in this repository

Public Instance Methods

AddRenderer (inherited from LoggerRepositorySkeleton) Adds an object renderer for a specific class.
Clear Clear all logger definitions from the internal hashtable
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Exists Test if a logger exists
GetAppenders Returns all the Appenders that are currently configured
GetCurrentLoggers Returns all the currently defined loggers in the hierarchy as an Array
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.
GetLoggerOverloaded. Return a new logger instance named as the first parameter using the default factory.
GetType (inherited from Object) Gets the Type of the current instance.
IsDisabled Test if this hierarchy is disabled for the specified Level.
Log Log the logEvent through this hierarchy.
RaiseConfigurationChanged (inherited from LoggerRepositorySkeleton) Raise a configuration changed event on this repository
ResetConfiguration Reset all values contained in this hierarchy instance to their default.
Shutdown Shutting down a hierarchy will safely close and remove all appenders in all loggers including the root logger.
ToString (inherited from Object) Returns a String that represents the current Object.

Public Instance Events

ConfigurationChanged (inherited from LoggerRepositorySkeleton) Event to notify that the repository has had its configuration changed.
ConfigurationReset (inherited from LoggerRepositorySkeleton) Event to notify that the repository has had its configuration reset.
LoggerCreatedEvent Event used to notify that a logger has been created.
ShutdownEvent (inherited from LoggerRepositorySkeleton) Event to notify that the repository has been shutdown.

Protected Instance Methods

BasicRepositoryConfigure Initialize the log4net system using the specified appender
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.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnConfigurationChanged (inherited from LoggerRepositorySkeleton) Notify the registered listeners that the repository has had its configuration changed
OnConfigurationReset (inherited from LoggerRepositorySkeleton) Notify the registered listeners that the repository has had its configuration reset
OnLoggerCreationEvent Sends a logger creation event to all registered listeners
OnShutdown (inherited from LoggerRepositorySkeleton) Notify the registered listeners that the repository is shutting down
XmlRepositoryConfigure Initialize the log4net system using the specified config

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace