trace_msg0()

trace_msg0()#

The trace_msg0() function logs a debug message with a formatted string.

Prototype

int trace_msg0(
    const char *fmt,
    ...
);

Parameters

Key

Type

Description

fmt

const char *

The format string, similar to printf().

...

variadic

Additional arguments corresponding to the format specifiers in fmt.


Return Value

Returns 0 after logging the message.

Notes

This function formats the message using vsnprintf() and logs it with a debug priority.

Prototype

// Not applicable in JS

Prototype

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