Table of Contents

Delegate LogCallback

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

Receives a log message.

public delegate void LogCallback(LogSeverity severity, LogEvent @event, long code, string message)

Parameters

severity LogSeverity
Receives a log message.
event LogEvent
Receives a log message.
code long
Receives a log message.
message string
Receives a log message.

Remarks

Runs on the thread that logged the message, or on a background thread for the severities that MaplibreNative.SetLogAsyncSeverityMask() selects. The callback can't call the library.

See mln_log_callback in the C API reference.