Click or drag to resize

MemoryTargetLogs Property

Gets the list of logs gathered in the MemoryTarget.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntax
public IList<string> Logs { get; }

Property Value

Type: IListString
Remarks
Be careful when enumerating, as NLog target is blocked from writing during enumeration (blocks application logging)
See Also