NLog Logging Library

TargetAttribute Class

[This is preliminary documentation and subject to change.]

Marks class as a logging target and assigns a name to it.

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

System.Object
   System.Attribute
      NLog.TargetAttribute

[Visual Basic]
NotInheritable Public Class TargetAttribute
    Inherits 
[C#]
public sealed class TargetAttribute : Attribute

Thread Safety

This type is safe for multithreaded operations.

Requirements

Namespace: NLog

Assembly: NLog (in NLog.dll)

See Also

TargetAttribute Members | NLog Namespace