| 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
)
Public Sub SetCallerInfo (
callerClassName As String,
callerMemberName As String,
callerFilePath As String,
callerLineNumber As Integer
)
Dim instance As LogEventInfo
Dim callerClassName As String
Dim callerMemberName As String
Dim callerFilePath As String
Dim callerLineNumber As Integer
instance.SetCallerInfo(callerClassName,
callerMemberName, callerFilePath,
callerLineNumber)
member SetCallerInfo :
callerClassName : string *
callerMemberName : string *
callerFilePath : string *
callerLineNumber : int -> unit
Parameters
- callerClassName
- Type: SystemString
- callerMemberName
- Type: SystemString
- callerFilePath
- Type: SystemString
- callerLineNumber
- Type: SystemInt32
See Also