| LogEventInfo Constructor (LogLevel, String, String, IReadOnlyListKeyValuePairObject, Object) |
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public LogEventInfo(
LogLevel level,
string loggerName,
string message,
IReadOnlyList<KeyValuePair<Object, Object>> eventProperties
)
Public Sub New (
level As LogLevel,
loggerName As String,
message As String,
eventProperties As IReadOnlyList(Of KeyValuePair(Of Object, Object))
)
Dim level As LogLevel
Dim loggerName As String
Dim message As String
Dim eventProperties As IReadOnlyList(Of KeyValuePair(Of Object, Object))
Dim instance As New LogEventInfo(level, loggerName,
message, eventProperties)
new :
level : LogLevel *
loggerName : string *
message : string *
eventProperties : IReadOnlyList<KeyValuePair<Object, Object>> -> LogEventInfo
Parameters
- level
- Type: NLogLogLevel
Log level. - loggerName
- Type: SystemString
Override default Logger name. Default Name is used when null - message
- Type: SystemString
Log message. - eventProperties
- Type: System.Collections.GenericIReadOnlyListKeyValuePairObject, Object
List of event-properties
See Also