| LogEventBuilder Constructor (ILogger, LogLevel) |
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public LogEventBuilder(
ILogger logger,
LogLevel logLevel
)
Public Sub New (
logger As ILogger,
logLevel As LogLevel
)
Dim logger As ILogger
Dim logLevel As LogLevel
Dim instance As New LogEventBuilder(logger,
logLevel)
new :
logger : ILogger *
logLevel : LogLevel -> LogEventBuilder
Parameters
- logger
- Type: NLogILogger
The Logger to send the log event. - logLevel
- Type: NLogLogLevel
The log level. LogEvent is only created when LogLevel is enabled for logger
See Also