gobj_log_last_message()

gobj_log_last_message()#

Retrieves the last logged message recorded by the logging system.

Prototype

const char *gobj_log_last_message(void);

Parameters

Key

Type

Description

-

-

This function does not take any parameters.


Return Value

A pointer to a string containing the last logged message. The returned string is managed internally and should not be modified or freed by the caller.

Notes

This function provides access to the most recent log message, which can be useful for debugging or monitoring purposes.

Prototype

// Not applicable in JS

Prototype

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