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.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
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