Click or drag to resize
LoggerLog Method (LogLevel, String)
Writes the diagnostic message at the specified level.

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

Parameters

level
Type: NLogLogLevel
The log level.
message
Type: SystemString
Log message.

Implements

ILoggerBaseLog(LogLevel, String)
See Also