Hierarchy Methods | Apache log4net™ SDK Documentation

The Hierarchy type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| AddRenderer | Adds an object renderer for a specific class. (Inherited from LoggerRepositorySkeleton.)
| BasicRepositoryConfigure | Initialize the log4net system using the specified appenders
| Clear | Clear all logger definitions from the internal hashtable
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| Exists | Test if a logger exists (Overrides LoggerRepositorySkeleton Exists(String).)
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
| Flush | Flushes all configured Appenders that implement IFlushable. (Inherited from LoggerRepositorySkeleton.)
| GetAppenders | Returns all the Appenders that are currently configured (Overrides LoggerRepositorySkeleton GetAppenders .)
| GetCurrentLoggers | Returns all the currently defined loggers in the hierarchy as an Array (Overrides LoggerRepositorySkeleton GetCurrentLoggers .)
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.)
| GetLogger(String) | Return a new logger instance named as the first parameter using the default factory. (Overrides LoggerRepositorySkeleton GetLogger(String).)
| GetLogger(String, ILoggerFactory) | Return a new logger instance named as the first parameter using factory.
| GetType | Gets the Type of the current instance. (Inherited from Object.)
| IsDisabled | Test if this hierarchy is disabled for the specified Level.
| Log | Log the logEvent through this hierarchy. (Overrides LoggerRepositorySkeleton Log(LoggingEvent).)
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.)
| OnConfigurationChanged | Notify the registered listeners that the repository has had its configuration changed (Inherited from LoggerRepositorySkeleton.)
| OnConfigurationReset | Notify the registered listeners that the repository has had its configuration reset (Inherited from LoggerRepositorySkeleton.)
| OnLoggerCreationEvent | Sends a logger creation event to all registered listeners
| OnShutdown | Notify the registered listeners that the repository is shutting down (Inherited from LoggerRepositorySkeleton.)
| RaiseConfigurationChanged | Raise a configuration changed event on this repository (Inherited from LoggerRepositorySkeleton.)
| ResetConfiguration | Reset all values contained in this hierarchy instance to their default. (Overrides LoggerRepositorySkeleton ResetConfiguration .)
| Shutdown | Shutting down a hierarchy will safely close and remove all appenders in all loggers including the root logger. (Overrides LoggerRepositorySkeleton Shutdown .)
| ToString | Returns a String that represents the current Object. (Inherited from Object.)
| XmlRepositoryConfigure | Initialize the log4net system using the specified config

Top
See Also

#### Reference

Hierarchy Class
log4net.Repository.Hierarchy Namespace