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: MaplibreNativeFfiLogSeverity

The value.

event

Type: MaplibreNativeFfiLogEvent

The value.

code

Type: gint64

The 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: gpointer

The data that the callback’s setter received.

The argument can be NULL.
The data is owned by the caller of the function.