| LogEventInfo Constructor (LogLevel, String, IFormatProvider, String, Object) |
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public 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