IRepositorySelector CreateRepository Method (String, Type)Apache log4net™ SDK Documentation
Creates a new repository with the name specified.

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

ILoggerRepository CreateRepository(
	string repositoryName,
	Type repositoryType
)

Return Value

Type: ILoggerRepository
The repository created.
Remarks

The ILoggerRepository created will be associated with the name specified such that a call to [M:GetRepository(string)] with the same name will return the same repository instance.

See Also