gobj_set_global_trace()
#
Sets or resets the global trace level for debugging and logging purposes.
Prototype
int gobj_set_global_trace(
const char *level,
BOOL set
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The trace level to set or reset. If empty, all global trace levels are affected. |
|
|
If |
Return Value
Returns 0 on success, or -1 if the specified trace level is not found.
Notes
If level
is empty, all global trace levels are affected. The function ensures that the trace level exists before modifying it.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples