onNativeLog abstract method

void onNativeLog(
  1. String level,
  2. String tag,
  3. String message,
  4. String? error,
)

Called when native code logs a message (if custom logging is enabled) @param level Log level (e.g., "DEBUG", "INFO", "WARNING", "ERROR") @param tag Tag/component that logged the message @param message The log message @param error Optional error message or stack trace

Implementation

void onNativeLog(String level, String tag, String message, String? error);