| NLogTraceListenerProcessLogEventInfo Method |
Process the log event
The log level.The name of the logger.The log message.The log parameters.The event id.The event type.The related activity id.
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax protected virtual void ProcessLogEventInfo(
LogLevel logLevel,
string loggerName,
string message,
Object[] arguments,
int? eventId,
TraceEventType? eventType,
Guid? relatedActivityId
)
Protected Overridable Sub ProcessLogEventInfo (
logLevel As LogLevel,
loggerName As String,
message As String,
arguments As Object(),
eventId As Integer?,
eventType As TraceEventType?,
relatedActivityId As Guid?
)
Dim logLevel As LogLevel
Dim loggerName As String
Dim message As String
Dim arguments As Object()
Dim eventId As Integer?
Dim eventType As TraceEventType?
Dim relatedActivityId As Guid?
Me.ProcessLogEventInfo(logLevel,
loggerName, message, arguments, eventId,
eventType, relatedActivityId)
abstract ProcessLogEventInfo :
logLevel : LogLevel *
loggerName : string *
message : string *
arguments : Object[] *
eventId : Nullable<int> *
eventType : Nullable<TraceEventType> *
relatedActivityId : Nullable<Guid> -> unit
override ProcessLogEventInfo :
logLevel : LogLevel *
loggerName : string *
message : string *
arguments : Object[] *
eventId : Nullable<int> *
eventType : Nullable<TraceEventType> *
relatedActivityId : Nullable<Guid> -> unit
Parameters
- logLevel
- Type: NLogLogLevel
- loggerName
- Type: SystemString
- message
- Type: SystemString
- arguments
- Type: SystemObject
- eventId
- Type: SystemNullableInt32
- eventType
- Type: SystemNullableTraceEventType
- relatedActivityId
- Type: SystemNullableGuid
See Also