Click or drag to resize
LogEventInfoCreate Method (LogLevel, String, String)
Creates the log event.

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

Parameters

logLevel
Type: NLogLogLevel
The log level.
loggerName
Type: SystemString
Name of the logger.
message
Type: SystemString
The message.

Return Value

Type: LogEventInfo
Instance of LogEventInfo.
See Also