Writes a message to a log file.
writeLog(text [, type] [, application] [, file] [, log] )
→ returns void
informationwarningerrorfataltrue.log). If the file does not exist, it is created automatically. The log file will be located in your CF server logs directory.
ApplicationSchedulerLogs 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.