NLog Logging Library

Logger.WarnException Method 

[This is preliminary documentation and subject to change.]

Writes the diagnostic message and exception at the Warn level.

[Visual Basic]
Public Sub WarnException( _
   ByVal message As String, _
   ByVal exception As Exception _
)
[C#]
public void WarnException(
   string message,
   Exception exception
);

Parameters

message
A string to be written.
exception
An exception to be logged.

See Also

Logger Class | NLog Namespace