 | LoggerFatalException Method |
Note: This API is now obsolete.
Writes the diagnostic message and exception at the Fatal level.
Namespace: NLogAssembly: NLog (in NLog.dll) Version: 4.3.0
Syntax[ObsoleteAttribute("Use Fatal(Exception exception, string message, params object[] args) method instead.")]
public void FatalException(
string message,
Exception exception
)
<ObsoleteAttribute("Use Fatal(Exception exception, string message, params object[] args) method instead.")>
Public Sub FatalException (
message As String,
exception As Exception
)
Parameters
- message
- Type: SystemString
A string to be written. - exception
- Type: SystemException
An exception to be logged.
Implements
ILoggerFatalException(String, Exception)
See Also