gobj_log_list_handlers()
#
Retrieves a list of registered log handlers, returning a JSON array with details about each handler.
Prototype
json_t *gobj_log_list_handlers(void);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
This function does not take any parameters. |
Return Value
A JSON array containing dictionaries with details about each registered log handler. Each dictionary includes ‘handler_name’, ‘handler_type’, and ‘handler_options’.
Notes
The returned JSON array must be managed by the caller to avoid memory leaks.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples