Changes between Version 2 and Version 3 of FAQs/HowDoIDisableModelGlueDebuggingForSpecificEvents
- Timestamp:
- 02/01/10 01:15:53 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FAQs/HowDoIDisableModelGlueDebuggingForSpecificEvents
v2 v3 7 7 }}} 8 8 9 Model-Glue 3.1 and forward allows you to designate events and event typesthat should not have Model Glue debug output.9 Model-Glue 3.1 and forward allows you broadcast a message for any request that should not have Model Glue debug output. 10 10 11 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:11 In both examples, the Model Glue debugging would be suppressed: 12 12 13 13 {{{ 14 <event-handler name="eventHandlerWithDisabledDebug" disableDebug="true"> 14 <event-handler name="eventHandlerWithDisabledDebug"> 15 <broadcasts> 16 <message name="modelglue.disableModelGlueDebugging" /> 17 ... 15 18 }}} 16 19 … … 20 23 <event-type name="hasNoDebug" disableDebug="true"> 21 24 <before> 25 <broadcasts> 26 <message name="modelglue.disableModelGlueDebugging" /> 27 </broadcasts> 22 28 </before> 23 29 </event-type>
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)