Click or drag to resize
LogEventInfo Constructor (LogLevel, String, String)
Initializes a new instance of the LogEventInfo class.

Namespace: NLog
Assembly: NLog (in NLog.dll) Version: 4.3.0
Syntax
public LogEventInfo(
	LogLevel level,
	string loggerName,
	string message
)

Parameters

level
Type: NLogLogLevel
Log level.
loggerName
Type: SystemString
Logger name.
message
Type: SystemString
Log message including parameter placeholders.
See Also