NLog Logging Library

Logger.Warn Method (IFormatProvider, Object)

[This is preliminary documentation and subject to change.]

Writes the diagnostic message at the Warn level.

[Visual Basic]
Overloads Public Sub Warn( _
   ByVal formatProvider As IFormatProvider, _
   ByVal obj As Object _
)
[C#]
public void Warn(
   IFormatProvider formatProvider,
   object obj
);

Parameters

formatProvider
An IFormatProvider that supplies culture-specific formatting information.
obj
A object to be written.

See Also

Logger Class | NLog Namespace | Logger.Warn Overload List