)]}'
{
  "commit": "09aafef6445b9b97ecc022efabecf9a9dc0fc833",
  "tree": "faab16585fd7c56b50a7ffb0a1181b1676b59f81",
  "parents": [
    "34c396450f07b82d7b5ef41a4042222b6c600fa2"
  ],
  "author": {
    "name": "Chris Bracken",
    "email": "chris@bracken.jp",
    "time": "Thu Aug 06 10:30:53 2026 +0900"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Aug 06 01:30:53 2026 +0000"
  },
  "message": "iOS: Switch logging from syslog to os_log (#190595)\n\nPreviously, `Logger` on iOS defaulted to syslog which used C string\ninterop and didn\u0027t record severity.\n\nBecause `Settings::log_message_callback` is wired to use `Logger`, this\nmigrates all iOS logging to `os_log`: both iOS embedder logging AND core\nengine (FML-based) logging, which includes Dart print statements in\nFlutter apps since those rely on the core engine log callback too.\n\nManually tested using:\n* debug mode iOS simulator\n* debug mode iOS physical device\n* release mode iOS physical device\n\nThis change does not affect macOS logging which previous used logging to\nstdout and still uses logging to stdout, but out of paranoia, since it\nalso uses FlutterLogger, I manually tested using:\n* debug mode macOS app\n* release mode macOS app\n\nA followup patch will expose the logging subsystem via a `tag` parameter\nin `Logger`\u0027s API so we don\u0027t need to do manual concatentation in the\n`log_message_callback`.\n\nFixes https://github.com/flutter/flutter/issues/44030 (fingers crossed)\n\n\u003c!--\nThanks for filing a pull request!\nReviewers are typically assigned within a week of filing a request.\nTo learn more about code review, see our documentation on Tree Hygiene:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md\n--\u003e\n\n## Pre-launch Checklist\n\n- [X] I read the [Contributor Guide] and followed the process outlined\nthere for submitting PRs.\n- [X] I read the [AI contribution guidelines] and understand my\nresponsibilities, or I am not using AI tools.\n- [X] I read the [Tree Hygiene] wiki page, which explains my\nresponsibilities.\n- [X] I read and followed the [Flutter Style Guide], including [Features\nwe expect every widget to implement].\n- [X] I signed the [CLA].\n- [X] I listed at least one issue that this PR fixes in the description\nabove.\n- [X] I updated/added relevant documentation (doc comments with `///`).\n- [X] I added new tests to check the change I am making, or this PR is\n[test-exempt].\n- [X] I followed the [breaking change policy] and added [Data Driven\nFixes] where supported.\n- [X] All existing and new tests are passing.\n\nIf you need help, consider asking for advice on the #hackers-new channel\non [Discord].\n\nIf this change needs to override an active code freeze, provide a\ncomment explaining why. The code freeze workflow can be overridden by\ncode reviewers. See pinned issues for any active code freezes with\nguidance.\n\n**Note**: The Flutter team is currently trialing the use of [Gemini Code\nAssist for\nGitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code).\nComments from the `gemini-code-assist` bot should not be taken as\nauthoritative feedback from the Flutter team. If you find its comments\nuseful you can update your code accordingly, but if you are unsure or\ndisagree with the feedback, please feel free to wait for a Flutter team\nmember\u0027s review for guidance on which automated comments should be\naddressed.\n\n\u003c!-- Links --\u003e\n[Contributor Guide]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview\n[AI contribution guidelines]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#ai-contribution-guidelines\n[Tree Hygiene]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md\n[test-exempt]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests\n[Flutter Style Guide]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md\n[Features we expect every widget to implement]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement\n[CLA]: https://cla.developers.google.com/\n[flutter/tests]: https://github.com/flutter/tests\n[breaking change policy]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes\n[Discord]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md\n[Data Driven Fixes]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a4db8d8fab9787121a7b1cae0a4f60edc3d0e99f",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/shell/platform/darwin/common/framework/Source/Logger.swift",
      "new_id": "ef2f06fa76939f55b49f2cd5e042a900b03e248c",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/shell/platform/darwin/common/framework/Source/Logger.swift"
    },
    {
      "type": "modify",
      "old_id": "9cfa2e317fe79ee067e6a0f9fe0c753e33db0b43",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/shell/platform/darwin/common/framework/Source/LoggerTests.swift",
      "new_id": "3075da055b047f7d0471fde7dd00c207a037e194",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/shell/platform/darwin/common/framework/Source/LoggerTests.swift"
    }
  ]
}
