gobj_repr_gclass_trace_levels()

gobj_repr_gclass_trace_levels()#

Returns a JSON array containing trace level information for all registered GClasses or a specific GClass if a name is provided.

Prototype

json_t *gobj_repr_gclass_trace_levels(
    const char *gclass_name
);

Parameters

Key

Type

Description

gclass_name

const char *

The name of the GClass to retrieve trace levels for. If NULL, retrieves trace levels for all registered GClasses.


Return Value

A JSON array containing objects with GClass names and their respective trace levels.

Notes

If gclass_name is NULL, the function iterates over all registered GClasses and includes their trace levels in the output.

Prototype

// Not applicable in JS

Prototype

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