coldfusion.eventgateway.Logger

NoteThis 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 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.

error

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.

 

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy