log4net SDK Reference

RepositoryAttribute Class

Assembly level attribute that specifies the logging repository for the assembly.

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

System.Object
   System.Attribute
      log4net.Config.RepositoryAttribute
         log4net.Config.DomainAttribute

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

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Assemblies are mapped to logging repository. This attribute specified on the assembly controls the configuration of the repository. The Name property specifies the name of the repository that this assembly is a part of. The RepositoryType specifies the type of the ILoggerRepository object to create for the assembly. If this attribute is not specified or a Name is not specified then the assembly will be part of the default shared logging repository.

This attribute can only be specified on the assembly and may only be used once per assembly.

Requirements

Namespace: log4net.Config

Assembly: log4net (in log4net.dll)

See Also

RepositoryAttribute Members | log4net.Config Namespace