RepositoryAttribute Name Property | Apache log4net™ SDK Documentation

Gets or sets the name of the logging repository.

Namespace: log4net.Config
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public string Name { get; set; }

    Public Property Name As String
    	Get
    	Set

    public:
    property String^ Name {
    	String^ get ();
    	void set (String^ value);
    }

    member Name : string with get, set

#### Property Value

Type: String
The string name to use as the name of the repository associated with this assembly.
Remarks

This value does not have to be unique. Several assemblies can share the same repository. They will share the logging configuration of the repository.

See Also

#### Reference

RepositoryAttribute Class
log4net.Config Namespace