mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Previously, the macOS embedder relied on the deprecated built-in log handling in lib/ui/ui_dart_state.cc. Instead, we now register a dedicated log handler for the macOS embedder. This is used, for example, to output Dart 'print' calls. While unlikely that we'll break the internal generic fallback logging, it's preferable to keep platform-specific functionality in the embedder. Issue: https://github.com/flutter/flutter/issues/99636