 | LoggerFatal Method (Exception, String) |
Writes the diagnostic message and exception at the Fatal level.
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntaxpublic void Fatal(
Exception exception,
string message
)
Public Sub Fatal (
exception As Exception,
message As String
)
Dim instance As Logger
Dim exception As Exception
Dim message As String
instance.Fatal(exception, message)
abstract Fatal :
exception : Exception *
message : string -> unit
override Fatal :
exception : Exception *
message : string -> unit
Parameters
- exception
- Type: SystemException
An exception to be logged. - message
- Type: SystemString
A string to be written.
Implements
ILoggerFatal(Exception, String)
See Also