coldfusion.eventgateway.Logger
Note: This class is in the coldfusion.log package, not the coldfusion.eventgateway package, which contains all other event gateway-related interfaces and classes.
The Logger class logs messages to a file in the ColdFusion logs directory. (You set this directory on the ColdFusion MX Administrator Logging Settings page.) The coldfusion.eventgateway.GatewayServices.getLogger() method returns an instance of the Logger class. The Logger class has the following methods:
| Signature | Description |
|---|---|
debug |
Writes a debugging message to the log file. |
|
Writes an error message to the log file. |
|
fatal |
Writes a fatal error to the log file. |
info |
Writes an informational message to the log file. |
warn |
Writes a warning message to the log file. |