Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

Hierarchy�Methods

The methods of the Hierarchy class are listed below. For a complete list of Hierarchy class members, see the Hierarchy Members topic.

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)
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)
GetLoggerOverloaded. Return a new logger instance named as the first parameter using the default factory.
GetType (inherited from Object)
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)

Protected Instance Methods

BasicRepositoryConfigure Initialize the log4net system using the specified appenders
Finalize (inherited from Object)
MemberwiseClone (inherited from 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