NLog Logging Library

Logger.Warn Method (String, Boolean)

[This is preliminary documentation and subject to change.]

Writes the diagnostic message at the Warn level using the specified Boolean as a parameter.

[Visual Basic]
Overloads Public Sub Warn( _
   ByVal message As String, _
   ByVal argument As Boolean _
)
[C#]
public void Warn(
   string message,
   bool argument
);

Parameters

message
A string containing one format item.
argument
The Boolean argument to format.

See Also

Logger Class | NLog Namespace | Logger.Warn Overload List