ColdFusion 9.0 Resources |
ColdFusion.Log.debugDescriptionDisplays a debug-level message in a log window. Function syntaxColdFusion.Log.debug(message [, category]) See alsoColdFusion.Log.dump, ColdFusion.Log.error, 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.debug("<b>Debug argument:</b><br>" + arg.A, "Pod A"); |