NLog Logging Library

Logger.Error Method (String, Object, Object)

[This is preliminary documentation and subject to change.]

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

[Visual Basic]
Overloads Public Sub Error( _
   ByVal message As String, _
   ByVal arg1 As Object, _
   ByVal arg2 As Object _
)
[C#]
public void Error(
   string message,
   object arg1,
   object arg2
);

Parameters

message
A string containing format items.
arg1
First argument to format.
arg2
Second argument to format.

See Also

Logger Class | NLog Namespace | Logger.Error Overload List