Click or drag to resize

LogEventInfoSetCallerInfo Method

Sets the details retrieved from the Caller Information Attributes

Namespace:  NLog
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
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