Click or drag to resize

NLogTraceListenerTraceTransfer Method

Writes trace information, a message, a related activity identity and event information to the listener specific output.

Namespace:  NLog
Assembly:  NLog.Targets.Trace (in NLog.Targets.Trace.dll) Version: 6.0.0+be83582280f7a841b0d3c6ae75b4f95aaf07e914
Syntax
public override void TraceTransfer(
	TraceEventCache eventCache,
	string source,
	int id,
	string message,
	Guid relatedActivityId
)

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.
id
Type: SystemInt32
A numeric identifier for the event.
message
Type: SystemString
A message to write.
relatedActivityId
Type: SystemGuid
A Guid object identifying a related activity.
See Also