gobj_get_gclass_trace_level_list()

gobj_get_gclass_trace_level_list()#

Retrieves a list of trace levels set for a given gclass. If gclass is NULL, it returns the trace levels for all registered gclass instances.

Prototype

PUBLIC json_t *gobj_get_gclass_trace_level_list(
    hgclass gclass
);

Parameters

Key

Type

Description

gclass

hgclass

The gclass whose trace levels are to be retrieved. If NULL, retrieves trace levels for all gclass instances.


Return Value

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

Notes

The returned JSON array must be freed by the caller using json_decref().

Prototype

// Not applicable in JS

Prototype

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