is_level_tracing()

is_level_tracing()#

Checks if the given gobj has the specified trace level enabled, considering global and class-level trace settings.

Prototype

PUBLIC BOOL is_level_tracing(
    hgobj gobj, 
    uint32_t level
);

Parameters

Key

Type

Description

gobj

hgobj

The GObj instance to check for the trace level.

level

uint32_t

The trace level bitmask to check.


Return Value

Returns TRUE if the trace level is enabled for the given gobj, otherwise returns FALSE.

Notes

If gobj is NULL, the function checks the global trace level. The function considers deep tracing settings and class-level trace configurations.

Prototype

// Not applicable in JS

Prototype

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