ColdFusion 9.0 Resources |
ColdFusion.Log.errorDescriptionDisplays an error-level message in a log window. Function syntaxColdFusion.Log.error(message [, category]) See alsoColdFusion.Log.debug, ColdFusion.Log.dump, ColdFusion.Log.info, Logging information in the Developing ColdFusion Applications HistoryColdFusion 8: Added this function Parameters
ReturnsThis function does not return a value. UsageIf the page that calls this function does not have any ColdFusion AJAX-based controls, you use a cfajaximport tag on the page to ensure that the page includes the JavaScript definition for this function. The log window appears if you specify a URL parameter of the format cfdebug or cfdebug="true" in your page request and you select the Enable Ajax Debug Log Window option on the ColdFusion Administrator Debugging & Logging > Debug Output Settings page. ExampleColdFusion.Log.error("<b>Invalid value:</b><br>" + arg.A, "Pod A"); |