Click or drag to resize

ILoggerErrorTArgument Method (String, TArgument)

Writes the diagnostic message at the Error level using the specified parameter.

Namespace:  NLog
Assembly:  NLog (in NLog.dll) Version: 5.3.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
Syntax
void Error<TArgument>(
	string message,
	TArgument argument
)

Parameters

message
Type: SystemString
A string containing one format item.
argument
Type: TArgument
The argument to format.

Type Parameters

TArgument
The type of the argument.
See Also