NLog Logging Library

Logger.Warn Method (String, Object[])

[This is preliminary documentation and subject to change.]

Writes the diagnostic message at the Warn level using the specified parameters.

[Visual Basic]
Overloads Public Sub Warn( _
   ByVal message As String, _
   ParamArray args As Object() _
)
[C#]
public void Warn(
   string message,
   params object[] args
);

Parameters

message
A string containing format items.
args
Arguments to format.

See Also

Logger Class | NLog Namespace | Logger.Warn Overload List