NLog Logging Library

Logger.Error Method (IFormatProvider, String, Decimal)

[This is preliminary documentation and subject to change.]

Writes the diagnostic message at the Error level using the specified Decimal as a parameter and formatting it with the supplied format provider.

[Visual Basic]
Overloads Public Sub Error( _
   ByVal formatProvider As IFormatProvider, _
   ByVal message As String, _
   ByVal argument As Decimal _
)
[C#]
public void Error(
   IFormatProvider formatProvider,
   string message,
   decimal argument
);

Parameters

formatProvider
An IFormatProvider that supplies culture-specific formatting information.
message
A string containing one format item.
argument
The Decimal argument to format.

See Also

Logger Class | NLog Namespace | Logger.Error Overload List