The Hierarchy type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| Hierarchy | 
            Default constructor
              | |
| Hierarchy(ILoggerFactory) | 
            Construct with a logger factory
              | |
| Hierarchy(PropertiesDictionary) | 
            Construct with properties
              | |
| Hierarchy(PropertiesDictionary, ILoggerFactory) | 
            Construct with properties and a logger factory
              | 
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
              | |
|  (Inherited from  | ||
| Exists | 
            Test if a logger exists
              (Overrides LoggerRepositorySkeleton Exists(String).) | |
                    Allows an   (Inherited from  | ||
| 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 .) | |
                    Serves as a hash function for a particular type. 
                  (Inherited from  | ||
| 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.
              | |
                    Gets the   (Inherited from  | ||
| IsDisabled | 
            Test if this hierarchy is disabled for the specified Level.
              | |
| Log | 
            Log the logEvent through this hierarchy.
              (Overrides LoggerRepositorySkeleton Log(LoggingEvent).) | |
                    Creates a shallow copy of the current   (Inherited from  | ||
| 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 .) | |
|  (Inherited from  | ||
| XmlRepositoryConfigure | 
            Initialize the log4net system using the specified config
              | 
Properties
| Name | Description | |
|---|---|---|
| ConfigurationMessages | 
            Contains a list of internal messages captures during the 
            last configuration.
              (Inherited from LoggerRepositorySkeleton.) | |
| Configured | 
            Flag indicates if this repository has been configured.
              (Inherited from LoggerRepositorySkeleton.) | |
| EmittedNoAppenderWarning | 
            Has no appender warning been emitted
              | |
| LevelMap | 
            Get the level map for the Repository.
              (Inherited from LoggerRepositorySkeleton.) | |
| LoggerFactory | 
            Gets or sets the default ILoggerFactory instance.
              | |
| Name | 
            The name of the repository
              (Inherited from LoggerRepositorySkeleton.) | |
| PluginMap | 
            The plugin map for this repository.
              (Inherited from LoggerRepositorySkeleton.) | |
| Properties | 
            Repository specific properties
              (Inherited from LoggerRepositorySkeleton.) | |
| RendererMap | 
            RendererMap accesses the object renderer map for this repository.
              (Inherited from LoggerRepositorySkeleton.) | |
| Root | 
            Get the root of this hierarchy
              | |
| Threshold | 
            The threshold for all events in this repository
              (Inherited from LoggerRepositorySkeleton.) | 
Events
| Name | Description | |
|---|---|---|
| ConfigurationChanged | 
            Event to notify that the repository has had its configuration changed.
              (Inherited from LoggerRepositorySkeleton.) | |
| ConfigurationReset | 
            Event to notify that the repository has had its configuration reset.
              (Inherited from LoggerRepositorySkeleton.) | |
| LoggerCreatedEvent | 
            Event used to notify that a logger has been created.
              | |
| ShutdownEvent | 
            Event to notify that the repository has been shutdown.
              (Inherited from LoggerRepositorySkeleton.) | 
See Also