gobj_log_warning()
#
Logs a warning message with the specified format and arguments. The function increments the internal warning counter and processes the log message through registered handlers.
Prototype
void gobj_log_warning(
hgobj gobj,
log_opt_t opt,
...
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The object generating the log message. Can be NULL if not associated with a specific object. |
|
|
Logging options that control additional behavior such as stack tracing or process termination. |
|
|
Format string followed by arguments, similar to printf, specifying the log message. |
Return Value
This function does not return a value.
Notes
The function checks if logging is initialized before proceeding. If logging is already in progress, it prevents recursive calls. The log message is processed by registered handlers, and if configured, a backtrace may be printed.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples