![](../icons/../../NLogo.gif) | ILoggerError Method (IFormatProvider, String, Object) |
Writes the diagnostic message at the Error level using the specified parameters and formatting them with the supplied format provider.
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 5.3.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
Syntaxvoid Error(
IFormatProvider formatProvider,
string message,
params Object[] args
)
Sub Error (
formatProvider As IFormatProvider,
message As String,
ParamArray args As Object()
)
Dim instance As ILogger
Dim formatProvider As IFormatProvider
Dim message As String
Dim args As Object()
instance.Error(formatProvider, message,
args)
abstract Error :
formatProvider : IFormatProvider *
message : string *
args : Object[] -> unit
Parameters
- formatProvider
- Type: SystemIFormatProvider
An IFormatProvider that supplies culture-specific formatting information. - message
- Type: SystemString
A string containing format items. - args
- Type: SystemObject
Arguments to format.
See Also