CompactRepositorySelector GetRepository Method (String)Apache log4net™ SDK Documentation
Get the named ILoggerRepository

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public ILoggerRepository GetRepository(
	string repositoryName
)

Parameters

repositoryName
Type: OnlineSystem String
the name of the repository to lookup

Return Value

Type: ILoggerRepository
The named ILoggerRepository

Implements

IRepositorySelector GetRepository(String)
Exceptions

Remarks

Get the named ILoggerRepository. The default repository is log4net-default-repository. Other repositories must be created using the [M:CreateRepository(string, Type)]. If the named repository does not exist an exception is thrown.

See Also