Click or drag to resize

FileTargetDiscardAll Property

Gets or sets whether or not this target should just discard all data that its asked to write. Mostly used for when testing NLog Stack except final write

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public bool DiscardAll { get; set; }

Property Value

Type: Boolean
Remarks
Default:
See Also