[This is preliminary documentation and is subject to change.]
Marks class as a logging target and assigns a name to it.
Namespace:
NLog.TargetsAssembly: NLog (in NLog.dll) Version: 2.0.1.0
Syntax
C# |
---|
public sealed class TargetAttribute : NameBaseAttribute |
Visual Basic (Declaration) |
---|
Public NotInheritable Class TargetAttribute _ Inherits NameBaseAttribute |
Visual Basic (Usage) |
---|
Dim instance As TargetAttribute |