gobj_log_set_last_message()

gobj_log_set_last_message()#

Sets the last log message for retrieval using gobj_log_last_message().

Prototype

void gobj_log_set_last_message(
    const char *msg,
    ...
);

Parameters

Key

Type

Description

msg

const char *

The format string for the log message.

...

variadic

Additional arguments for the format string.


Return Value

This function does not return a value.

Notes

The stored message can be retrieved using gobj_log_last_message().

Prototype

// Not applicable in JS

Prototype

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