Click or drag to resize

LogEventInfoSetCallerInfo Method

Sets the details retrieved from the Caller Information Attributes

Namespace:  NLog
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public void SetCallerInfo(
	string callerClassName,
	string callerMemberName,
	string callerFilePath,
	int callerLineNumber
)

Parameters

callerClassName
Type: SystemString
callerMemberName
Type: SystemString
callerFilePath
Type: SystemString
callerLineNumber
Type: SystemInt32
See Also