Add functionality to log fatal.