)]}'
{
  "commit": "28e0c72e0380786ead30eaa3d19ca85899ae5893",
  "tree": "bc821a5b1a090001abcdc07eb801ec9ddc199f5a",
  "parents": [
    "1a36a6a8e10d14dd4c7a6a3d33ff7e7e654cc6e1"
  ],
  "author": {
    "name": "Marcin Radomski",
    "email": "dextero@google.com",
    "time": "Thu Aug 17 16:11:56 2023 +0000"
  },
  "committer": {
    "name": "Marcin Radomski",
    "email": "dextero@google.com",
    "time": "Wed Aug 23 15:11:54 2023 +0000"
  },
  "message": "Enable default-initializing liblog_rust to write to logcat on Android\n\nAdd default_log_impl cfg that, when enabled, makes `liblog_rust` use\n`android_logger` instead of `NopLogger` by default.\n\nThis makes it possible to embed android_logger as mod inside liblog_rust\ncrate, so that AndroidLogger can be used as default logger instead of a\nNopLogger.\n\nChanging that default prevents dropping logs when the logger is\nuninitialized. This can happen by accident when an application doesn\u0027t\nintialize the logger in all linker namespaces it pulls libraries from.\nSee discussion at b/294216366#comment7.\n\nBug: 275290559\nTest: compile test app from aosp/2717614\nTest: run it on a Cuttlefish device\nTest: observe logcat logs on all level from FFI call\nTest: observe all logs on non-FFI call without initializing the logger\nTest: observe set log filter applying only to non-FFI call\nChange-Id: I04dd334c66e5a2be8cfb19e87be3afb9146e5aa6\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e6ff3cf03ca3daab5b07d76c2a28cf3b1b3a6940",
      "old_mode": 33188,
      "old_path": "Android.bp",
      "new_id": "81c917565b8e4362359a73a673f3e4bd5f759f01",
      "new_mode": 33188,
      "new_path": "Android.bp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0c8c38a145a30b2f7cf010285a2e2bdfad41b567",
      "new_mode": 33188,
      "new_path": "patches/0001-Enable-default-initializing-liblog_rust-to-write-to-.patch"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "84b8625cba089adf9a334ef1a8769da6dea152e6",
      "new_mode": 40960,
      "new_path": "src/android_logger.rs"
    },
    {
      "type": "modify",
      "old_id": "4ead8262138904cf6ebf69a74675deda6069eeca",
      "old_mode": 33188,
      "old_path": "src/lib.rs",
      "new_id": "8eb1c507defad9c1631ab9ad65f687b9b99a9978",
      "new_mode": 33188,
      "new_path": "src/lib.rs"
    }
  ]
}
