Writes a message to a log file.
writeLog(text [, type] [, application] [, file] [, log] )
→ returns void
information
warning
error
fatal
true
Application
Scheduler
Logs an order processed successfully message to orders.log
which will be located in the CF logs directory, eg: {cf.root}/cfusion/logs/
writeLog(text="Order #order.getOrderID()# Processed Successfully", type="information", file="orders");
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.