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.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
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