Static manager that controls the creation of repositories
Inheritance Hierarchy
log4net.CoreLoggerManager
Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax
The LoggerManager type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() ![]() | RepositorySelector |
Gets or sets the repository selector used by the LogManager.
|
Methods
Name | Description | |
---|---|---|
![]() ![]() | CreateDomain(String) | Obsolete.
Creates a repository with the specified name.
|
![]() ![]() | CreateDomain(Assembly, Type) | Obsolete.
Creates a repository for the specified assembly and repository type.
|
![]() ![]() | CreateDomain(String, Type) | Obsolete.
Creates a repository with the specified name and repository type.
|
![]() ![]() | CreateRepository(String) |
Creates a repository with the specified name.
|
![]() ![]() | CreateRepository(Assembly, Type) |
Creates a repository for the specified assembly and repository type.
|
![]() ![]() | CreateRepository(String, Type) |
Creates a repository with the specified name and repository type.
|
![]() | Equals | (Inherited from Object.) |
![]() ![]() | Exists(Assembly, String) |
Returns the named logger if it exists.
|
![]() ![]() | Exists(String, String) |
Returns the named logger if it exists.
|
![]() ![]() | GetAllRepositories |
Gets an array of all currently defined repositories.
|
![]() ![]() | GetCurrentLoggers(Assembly) |
Returns all the currently defined loggers in the specified assembly's repository.
|
![]() ![]() | GetCurrentLoggers(String) |
Returns all the currently defined loggers in the specified repository.
|
![]() | GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() ![]() | GetLogger(Assembly, String) |
Retrieves or creates a named logger.
|
![]() ![]() | GetLogger(Assembly, Type) |
Shorthand for GetLogger(string).
|
![]() ![]() | GetLogger(String, String) |
Retrieves or creates a named logger.
|
![]() ![]() | GetLogger(String, Type) |
Shorthand for GetLogger(string).
|
![]() ![]() | GetLoggerRepository(Assembly) | Obsolete.
Returns the default ILoggerRepository instance.
|
![]() ![]() | GetLoggerRepository(String) | Obsolete.
Return the default ILoggerRepository instance.
|
![]() ![]() | GetRepository(Assembly) |
Returns the default ILoggerRepository instance.
|
![]() ![]() | GetRepository(String) |
Return the default ILoggerRepository instance.
|
![]() | GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() ![]() | ResetConfiguration(Assembly) |
Resets all values contained in this repository instance to their defaults.
|
![]() ![]() | ResetConfiguration(String) |
Resets all values contained in this repository instance to their defaults.
|
![]() ![]() | Shutdown |
Shuts down the log4net system.
|
![]() ![]() | ShutdownRepository(Assembly) |
Shuts down the repository for the repository specified.
|
![]() ![]() | ShutdownRepository(String) |
Shuts down the repository for the repository specified.
|
![]() | ToString | (Inherited from Object.) |
Remarks
Static manager that controls the creation of repositories
This class is used by the wrapper managers (e.g. LogManager) to provide access to the ILogger objects.
This manager also holds the IRepositorySelector that is used to lookup and create repositories. The selector can be set either programmatically using the RepositorySelector property, or by setting the log4net.RepositorySelector AppSetting in the applications config file to the fully qualified type name of the selector to use.
See Also