Request

Response

    ILogger.Fatal method (1 of 2)

    Logs the specified fatal exception.

    public void Fatal(Exception exception)
    
    parameterdescription
    exception The exception.

    Remarks

    This method should only be called in cases where the application cannot continue running. The specified exception will be logged, and the application will terminate.

    See Also


    ILogger.Fatal method (2 of 2)

    Logs the specified fatal message.

    public void Fatal(string message, [CallerMemberName] string caller = null)
    
    parameterdescription
    message The message.
    caller The caller.

    Remarks

    This method should only be called in cases where the application cannot continue running. The specified message will be logged, and the application will terminate.

    See Also