onLogMessage property

Stream<Map<String, dynamic>> get onLogMessage

Stream of log messages from the VPN service

Emits log messages as they are generated by the sing-box core. Each event is a map with:

  • "type": String ("log" or "clear")
  • "message": String (the log message, only present when type is "log")

Implementation

Stream<Map<String, dynamic>> get onLogMessage {
  return FlutterSingboxPlatform.instance.onLogMessage;
}