gobj_set_gclass_trace()
#
Sets or resets the trace level for a given hgclass
. If level
is NULL
, all trace levels are set or reset. If level
is an empty string, only user-defined trace levels are affected.
Prototype
int gobj_set_gclass_trace(
hgclass gclass,
const char *level,
BOOL set
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The |
|
|
The trace level to set or reset. If |
|
|
If |
Return Value
Returns 0
on success, or -1
if the specified trace level is not found.
Notes
If gclass
is NULL
, the function modifies the global trace level instead.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples