 | ILoggerErrorT Method (IFormatProvider, T) |
Writes the diagnostic message at the Error level.
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxvoid Error<T>(
IFormatProvider? formatProvider,
T value
)
Sub Error(Of T) (
formatProvider As IFormatProvider,
value As T
)
Dim instance As ILogger
Dim formatProvider As IFormatProvider
Dim value As T
instance.Error(formatProvider, value)
abstract Error :
formatProvider : IFormatProvider *
value : 'T -> unit
Parameters
- formatProvider
- Type: SystemIFormatProvider
An IFormatProvider that supplies culture-specific formatting information. - value
- Type: T
The value to be written.
Type Parameters
- T
- Type of the value.
See Also