Click or drag to resize

InternalLoggerError Method (Exception, String, Object)

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

Namespace:  NLog.Common
Assembly:  NLog (in NLog.dll) Version: 5.2.0+eed5f76d158dbcaef9326f7a0e1c281adad171e8
Syntax
public static void Error(
	Exception ex,
	string message,
	params Object[] args
)

Parameters

ex
Type: SystemException
Exception to be logged.
message
Type: SystemString
Message which may include positional parameters.
args
Type: SystemObject
Arguments to the message.
See Also