NLog Logging Library

Logger.Warn Method (IFormatProvider, String, Int32)

[This is preliminary documentation and subject to change.]

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

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

Parameters

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

See Also

Logger Class | NLog Namespace | Logger.Warn Overload List