Hierarchy MethodsApache log4net™ SDK Documentation

The Hierarchy type exposes the following members.

Methods

  NameDescription
Public methodAddRenderer
Adds an object renderer for a specific class.
(Inherited from LoggerRepositorySkeleton.)
Protected methodBasicRepositoryConfigure
Initialize the log4net system using the specified appenders
Public methodClear
Clear all logger definitions from the internal hashtable
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExists
Test if a logger exists
(Overrides LoggerRepositorySkeletonExists(String).)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFlush
Flushes all configured Appenders that implement IFlushable.
(Inherited from LoggerRepositorySkeleton.)
Public methodGetAppenders
Returns all the Appenders that are currently configured
(Overrides LoggerRepositorySkeletonGetAppenders.)
Public methodGetCurrentLoggers
Returns all the currently defined loggers in the hierarchy as an Array
(Overrides LoggerRepositorySkeletonGetCurrentLoggers.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLogger(String)
Return a new logger instance named as the first parameter using the default factory.
(Overrides LoggerRepositorySkeletonGetLogger(String).)
Public methodGetLogger(String, ILoggerFactory)
Return a new logger instance named as the first parameter using factory.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsDisabled
Test if this hierarchy is disabled for the specified Level.
Public methodLog
Log the logEvent through this hierarchy.
(Overrides LoggerRepositorySkeletonLog(LoggingEvent).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnConfigurationChanged
Notify the registered listeners that the repository has had its configuration changed
(Inherited from LoggerRepositorySkeleton.)
Protected methodOnConfigurationReset
Notify the registered listeners that the repository has had its configuration reset
(Inherited from LoggerRepositorySkeleton.)
Protected methodOnLoggerCreationEvent
Sends a logger creation event to all registered listeners
Protected methodOnShutdown
Notify the registered listeners that the repository is shutting down
(Inherited from LoggerRepositorySkeleton.)
Public methodRaiseConfigurationChanged
Raise a configuration changed event on this repository
(Inherited from LoggerRepositorySkeleton.)
Public methodResetConfiguration
Reset all values contained in this hierarchy instance to their default.
(Overrides LoggerRepositorySkeletonResetConfiguration.)
Public methodShutdown
Shutting down a hierarchy will safely close and remove all appenders in all loggers including the root logger.
(Overrides LoggerRepositorySkeletonShutdown.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Protected methodXmlRepositoryConfigure
Initialize the log4net system using the specified config
Top
See Also

Reference