 | EventLogTargetLog Property |
Gets or sets the name of the Event Log to write to. This can be System, Application or any user-defined name.
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic Layout Log { get; set; }
Public Property Log As Layout
Get
Set
Dim instance As EventLogTarget
Dim value As Layout
value = instance.Log
instance.Log = value
member Log : Layout with get, set
Property Value
Type:
Layout
Remarks[Required] Default: Application
See Also