Click or drag to resize

InternalLoggerLog Method (Exception, LogLevel, String)

Logs the specified message with an Exception at the specified level.

Namespace:  NLog.Common
Assembly:  NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntax
public static void Log(
	Exception ex,
	LogLevel level,
	string message
)

Parameters

ex
Type: SystemException
Exception to be logged.
level
Type: NLogLogLevel
Log level.
message
Type: SystemString
Log message.
See Also