Interface LogCallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Receives process-global Maplibre Native log records.
Native code may invoke this callback on logging or worker threads. The callback should return quickly and avoid calling Maplibre APIs. The binding copies each record before invoking Java code and contains callback exceptions so they do not unwind into native code.
-
Method Summary
-
Method Details
-
log
Handles a copied log record.- Returns:
- true when the callback consumed the record, false to let native logging handle it
-