Click or drag to resize

InternalLoggerTrace Method (Exception, String, Object)

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

Namespace:  NLog.Common
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public static void Trace(
	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