Click or drag to resize
NLogTraceListenerTraceData Method (TraceEventCache, String, TraceEventType, Int32, Object)
Writes trace information, an array of data objects and event information to the listener specific output.

Namespace: NLog
Assembly: NLog (in NLog.dll) Version: 4.3.0
Syntax
public override void TraceData(
	TraceEventCache eventCache,
	string source,
	TraceEventType eventType,
	int id,
	params Object[] data
)

Parameters

eventCache
Type: System.DiagnosticsTraceEventCache
A TraceEventCache object that contains the current process ID, thread ID, and stack trace information.
source
Type: SystemString
A name used to identify the output, typically the name of the application that generated the trace event.
eventType
Type: System.DiagnosticsTraceEventType
One of the TraceEventType values specifying the type of event that has caused the trace.
id
Type: SystemInt32
A numeric identifier for the event.
data
Type: SystemObject
An array of objects to emit as data.
See Also