gobj_set_gobj_no_trace()

gobj_set_gobj_no_trace()#

Sets or resets the no-trace level for a given gobj. This function modifies the trace level settings to exclude specific trace levels from being logged.

Prototype

int gobj_set_gobj_no_trace(
    hgobj gobj,
    const char *level,
    BOOL set
);

Parameters

Key

Type

Description

gobj

hgobj

The gobj whose no-trace level is being modified.

level

const char *

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

set

BOOL

If TRUE, the specified trace level is added to the no-trace list; if FALSE, it is removed.


Return Value

Returns 0 on success, or -1 if an error occurs.

Notes

This function prevents specific trace levels from being logged for the given gobj. If level is empty, all trace levels are affected.

Prototype

// Not applicable in JS

Prototype

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