 | LogEventInfo Constructor (LogLevel, String, IFormatProvider, String, Object) |
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic LogEventInfo(
LogLevel level,
string? loggerName,
IFormatProvider? formatProvider,
string message,
Object?[]? parameters
)
Public Sub New (
level As LogLevel,
loggerName As String,
formatProvider As IFormatProvider,
message As String,
parameters As Object()
)
Dim level As LogLevel
Dim loggerName As String
Dim formatProvider As IFormatProvider
Dim message As String
Dim parameters As Object()
Dim instance As New LogEventInfo(level, loggerName,
formatProvider, message, parameters)
new :
level : LogLevel *
loggerName : string *
formatProvider : IFormatProvider *
message : string *
parameters : Object[] -> LogEventInfo
Parameters
- level
- Type: NLogLogLevel
Log level. - loggerName
- Type: SystemString
Override default Logger name. Default Name is used when null - formatProvider
- Type: SystemIFormatProvider
An IFormatProvider that supplies culture-specific formatting information. - message
- Type: SystemString
Log message including parameter placeholders. - parameters
- Type: SystemObject
Parameter array.
See Also