Skip to content

iOS,macOS: Make core logging accessible to Swift code #168564

Closed

Description

@cbracken

Today, we use FML for core functionality such as logging and assertions in the iOS and macOS embedders. FML_LOG, FML_DLOG are implemented using C++ macros and thus currently unavailable to Swift.

Logging is platform-specific and a hook exposed via log_message_callback in the embedder API, and via Settings::log_message_callback in engine internals. We should implement a Swift-compatible logger, and use that in place of the current C++ macros.

Activity

  1. self-assigned this
    on May 8, 2025
  2. added
    P2Important issues not at the top of the work list
    team-iosOwned by iOS platform team
    team-macosOwned by the macOS platform team
    on May 8, 2025
  3. flutter-triage-bot commented on May 8, 2025

    @flutter-triage-bot

    Issue is assigned to multiple teams (ios, macos). Please ensure the issue has only one team-* label at a time. Use fyi-* labels to have another team look at the issue without reassigning it.

  4. added
    platform-iosiOS applications specifically
    platform-macosBuilding on or for macOS specifically
    team-iosOwned by iOS platform team
    fyi-macosFor the attention of macOS platform team
    on May 9, 2025
  5. 13 remaining items

  6. github-actions commented on May 29, 2025

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  7. locked as resolved and limited conversation to collaborators on May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listfyi-macosFor the attention of macOS platform teamplatform-iosiOS applications specificallyplatform-macosBuilding on or for macOS specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions