fatal

Description

Writes a log entry with a fatal severity to the ColdFusion MX logger. The entry includes the severity, thread ID, date, time, and a text message.

Category

Event Gateway Development

Syntax

fatal(String message)
fatal(Throwable th)
fatal(String message, Throwable th)

See also

debug, error, info, warn, getLogger, Logging events and using log files in Creating Custom Event Gateways in ColdFusion MX Developer's Guide

Parameters

Parameter Description

message

The message to include in the log entry.

th

A throwable object, normally an exception. ColdFusion MX logs the exception information in the exception.log file in the ColdFusion MX logs directory.

Usage

Use this method to send a fatal error message to the ColdFusion MX logging subsystem. ColdFusion MX will write a messages with a severity of "fatal" to the log file specified in the getLogger method that returned the Logger instance (or the default log file).


View comments in LiveDocs