gobj_trace_dump()
#
The gobj_trace_dump()
function logs a hex dump of a given buffer with an associated formatted message.
Prototype
void gobj_trace_dump(
hgobj gobj,
const char *bf,
size_t len,
const char *fmt,
...
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The GObj instance associated with the trace log. |
|
|
Pointer to the buffer containing the data to be dumped. |
|
|
The length of the buffer in bytes. |
|
|
A format string for the log message. |
|
|
Additional arguments for the format string. |
Return Value
This function does not return a value.
Notes
The gobj_trace_dump()
function is useful for debugging by providing a hex dump of a buffer. It formats the message using the provided format string and arguments before logging the output.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples