To test whether the debugging output of class yyy on channel xxx is enabled, use:
TRACE_ON to test if TRACE is enabled WARN_ON to test if WARN is enabled FIXME_ON to test if FIXME is enabled ERR_ON to test if ERR is enabled |
Examples:
if(TRACE_ON(atom)){ ...blah... } |
Note: You should normally need to test only if TRACE_ON. At present, none of the other 3 tests (except for ERR_ON which is used only once!) are used in Wine.