| Version 2 (modified by DanWilson, 16 years ago) |
|---|
How do I disable Model-Glue debugging output for specific events?
To disable Model-Glue debugging output for specific event, set the following request variable before the request completes:
<cfset request.modelGlueSuppressDebugging = "true" />
Model-Glue 3.1 and forward allows you to designate events and event types that should not have Model Glue debug output.
Simply decorate your event-handler or event-type with disableDebug=true and Model-Glue debugging will vanish. In both examples, the Model Glue debugging would be suppressed:
<event-handler name="eventHandlerWithDisabledDebug" disableDebug="true">
Or using Event Types:
<event-type name="hasNoDebug" disableDebug="true"> <before> </before> </event-type> <event-handler name="eventHandlerWithEventTypeOfDisabledDebug" type="hasNoDebug">
Model-Glue will verify this setting before rendering the Model-Glue debugging to the page buffer output.
Note: In Model-Glue 2: Unity, any value for request.modelGlueSuppressDebugging will suppress the debug output.
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)