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: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntax
public bool DiscardAll { get; set; }

Property Value

Type: Boolean
See Also