log4net SDK Reference

AliasRepositoryAttribute Class

Assembly level attribute that specifies a repository to alias to this assembly's repository.

For a list of all members of this type, see AliasRepositoryAttribute Members.

System.Object
   System.Attribute
      log4net.Config.AliasRepositoryAttribute
         log4net.Config.AliasDomainAttribute

[Visual Basic]
Public Class AliasRepositoryAttribute
    Inherits Attribute
[C#]
public class AliasRepositoryAttribute : Attribute

Thread Safety

This type is not safe for multithreaded operations.

Remarks

An assembly's logger repository is defined by its RepositoryAttribute, however this can be overridden by an assembly loaded before the target assembly.

An assembly can alias another assembly's repository to its repository by specifying this attribute with the name of the target repository.

This attribute can only be specified on the assembly and may be used as many times as necessary to alias all the required repositories.

Requirements

Namespace: log4net.Config

Assembly: log4net (in log4net.dll)

See Also

AliasRepositoryAttribute Members | log4net.Config Namespace