gobj_log_set_global_handler_option()

gobj_log_set_global_handler_option()#

Sets or clears a global log handler option in the logging system.

Prototype

int gobj_log_set_global_handler_option(
    log_handler_opt_t log_handler_opt,
    BOOL              set
);

Parameters

Key

Type

Description

log_handler_opt

log_handler_opt_t

The log handler option to be modified.

set

BOOL

If TRUE, the option is enabled; if FALSE, the option is disabled.


Return Value

Returns 0 on success.

Notes

This function modifies global logging behavior by enabling or disabling specific log handler options.

Prototype

// Not applicable in JS

Prototype

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