DCE_SVC_DEBUG(3dce)Macro to output a serviceability debug message Synopsis #include <dce/dce.h> DCE_SVC_DEBUG((
dce_svc_handle_t handle, Parameters Input
handle
table_index
debug_level
format
. . .
Description In contrast to the normal operation of the serviceability interface, DCE_SVC_DEBUG requires the caller to specify the message as a string literal in the call, rather than by defining it in the application's sams file specifying the message by a message ID. The debug_level argument indicates the level of detail associated with this message and must be in the range svc_c_debug1 to svc_c_debug9. Thus the value of debug_level associates the message with one of nine "levels'', and whether or not the message is actually generated at run time will depend on what debugging level has been set for the application. The level can be set by the application itself (by a call to dce_svc_debug_set_levels( ) or dce_svc_debug_routing( )) or by the value of an environment variable or a serviceability routing file; see svcroute(5dce) for further information. The significance of the various levels is application-defined, but in general the higher levels (numbers) imply more detail in debugging output. The format and . . . parameters are passed directly to fprintf( ) or its equivalent.
Related Information dce_svc_debug_set_levels(3dce) Files: svcroute(5dce)
|