Click or drag to resize

InternalLoggerErrorTArgument1, TArgument2 Method (String, TArgument1, TArgument2)

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

Namespace:  NLog.Common
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public static void Error<TArgument1, TArgument2>(
	string message,
	TArgument1 arg0,
	TArgument2 arg1
)

Parameters

message
Type: SystemString
Message which may include positional parameters.
arg0
Type: TArgument1
Argument {0} to the message.
arg1
Type: TArgument2
Argument {1} to the message.

Type Parameters

TArgument1
The type of the first argument.
TArgument2
The type of the second argument.
See Also