gobj_log_critical()

gobj_log_critical()#

Logs a critical message with the specified format and arguments. The message is processed by registered log handlers.

Prototype

void gobj_log_critical(
    hgobj gobj,
    log_opt_t opt,
    ...
);

Parameters

Key

Type

Description

gobj

hgobj

The object generating the log message. Can be NULL.

opt

log_opt_t

Logging options that control behavior such as stack tracing or process termination.

...

variadic

Format string followed by arguments, similar to printf.


Return Value

None.

Notes

Critical logs indicate severe conditions that require immediate attention. The function internally calls _log_jnbf() to process the log message.

Prototype

// Not applicable in JS

Prototype

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