DefaultRepositorySelector AliasRepository Method Apache log4net™ SDK Documentation
Aliases a repository to an existing repository.

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

public void AliasRepository(
	string repositoryAlias,
	ILoggerRepository repositoryTarget
)
Exceptions

ExceptionCondition
OnlineSystem ArgumentNullException

repositoryAlias is  .

-or-

repositoryTarget is  .

Remarks

The repository specified will be aliased to the repository when created. The repository must not already exist.

When the repository is created it must utilize the same repository type as the repository it is aliased to, otherwise the aliasing will fail.

See Also