gobj_set_global_no_trace()

gobj_set_global_no_trace()#

Sets or resets the global no-trace level for debugging and logging control.

Prototype

int gobj_set_global_no_trace(
    const char *level,
    BOOL set
);

Parameters

Key

Type

Description

level

const char *

The trace level to be set or reset. If empty, all global trace levels are affected.

set

BOOL

If TRUE, the specified trace level is set; if FALSE, it is reset.


Return Value

Returns 0 on success, or -1 if the specified trace level is not found.

Notes

This function modifies the global trace level settings, affecting all objects in the system.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples