MACROMEDIA COLFUSION MX 7-CFML Reference page 1002

Cfml reference
Hide thumbs Also See for COLFUSION MX 7-CFML:
Table of Contents

Advertisement

info
Description
Writes a log entry with an information severity to the ColdFusion MX logger. The entry includes
the severity, thread ID, date, time, and a text message.
Category
Event Gateway Development
Syntax
info(String message)
info(Throwable th)
info(String message, Throwable th)
See also
,
,
debug
error
fatal
"Creating Custom Event Gateways" in ColdFusion MX Developer's Guide
Parameters
Parameter
message
th
Usage
Use this method to send an informational message to the ColdFusion MX logging subsystem.
ColdFusion MX will write a messages with a severity of "information" to the log file specified in
the
method that returned the Logger instance (or the default log file).
getLogger
ColdFusion normally logs all information severity messages, so you should not use this severity
for debugging messages or for events that happen frequently.
Example
The ColdFusion MX example DirectoryWatcherGateway class includes the following line at the
top of its
loadconfig
including the gateway ID and configuration file.
logger.info("DirectoryWatcher (" + gatewayID + ") Initializing
DirectoryWatcher gateway with configuration file " + config);
1002
Chapter 6: ColdFusion MX Event Gateway Reference
,
,
warn
getLogger
Description
The message to include in the log entry.
A throwable object, normally an exception. ColdFusion MX logs the exception
information in the exception.log file in the ColdFusion MX logs directory. Not
normally used with this method.
method that loads the gateway's configuration file. It writes a message
, "Logging events and using log files" in Chapter 45,

Advertisement

Table of Contents
loading

This manual is also suitable for:

Colfusion mx 7 - installing and using coldfusion mx

Table of Contents