![](../icons/../../NLogo.gif) | 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
Syntaxvoid Error<TArgument>(
string message,
TArgument argument
)
Sub Error(Of TArgument) (
message As String,
argument As TArgument
)
Dim instance As ILogger
Dim message As String
Dim argument As TArgument
instance.Error(message, argument)
abstract Error :
message : string *
argument : 'TArgument -> unit
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