gobj_log_error()
#
The function gobj_log_error()
logs an error message with a specified priority level and optional formatting arguments.
Prototype
void gobj_log_error(
hgobj gobj,
log_opt_t opt,
...
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The GObj instance associated with the log entry. |
|
|
Logging options that control behavior such as stack tracing or process termination. |
|
|
A variadic list of arguments for formatted message output. |
Return Value
This function does not return a value.
Notes
The function increments the global error count and formats the log message before passing it to the logging system. It supports optional stack tracing and process termination based on the opt
parameter.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples