Function
MaplibreNativeFfiLogCallback
Declaration
void
(* MaplibreNativeFfiLogCallback) (
MaplibreNativeFfiLogSeverity severity,
MaplibreNativeFfiLogEvent event,
gint64 code,
const char* message,
gpointer user_data
)
Description [src]
Receives a log message.
Runs on the thread-default main context of the thread that started the call.
See mln_log_callback in the
C API reference.
Parameters
severity-
Type:
MaplibreNativeFfiLogSeverityThe value.
event-
Type:
MaplibreNativeFfiLogEventThe value.
code-
Type:
gint64The value.
message-
Type:
const char*The text.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. user_data-
Type:
gpointerThe data that the callback’s setter received.
The argument can be NULL.The data is owned by the caller of the function.