)]}'
{
  "commit": "6e8d9a28e424c08d3b55ecb086f547363c6b2019",
  "tree": "325eba18b3d0bca0b2c571b72beb03799e7055b3",
  "parents": [
    "b48b525194fd1db0d40547207a8e5842b4950b8e"
  ],
  "author": {
    "name": "unnurg@google.com",
    "email": "unnurg@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7",
    "time": "Thu Nov 17 23:57:27 2011 +0000"
  },
  "committer": {
    "name": "unnurg@google.com",
    "email": "unnurg@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7",
    "time": "Thu Nov 17 23:57:27 2011 +0000"
  },
  "message": "Add an option to compile out all logging calls below the SEVERE or WARNING\nlevel. Note that this does not work for logger.log() calls - it only works for\nlogger.severe(), logger.info(), etc. style calls.  Since the java.util.logging API does not provide the ability to log exceptions with the logger.severe() style calls, you\u0027ll need to use the logger.log() calls to log exceptions and follow the directions below for how to get them to compile out.\n\nIf you need to compile out logger.log() calls (or any more complex logging code), you can do this:\n\nif (LogConfiguration.loggingIsEnabled(Level.WARNING)) {\n// This will all compile out if gwt.logging.enabled is set to SEVERE\nString errMessage \u003d \"Hi\";\nlogger.log(Level.WARNING, errMessage, exception);\n}\n\nReview by: cromwellian@google.com\n\ngit-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@10753 8db76d5a-ed1c-0410-87a9-c151d255dfc7\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8432675cd58c6fb64e88d198652962a0b700f5f3",
      "old_mode": 33188,
      "old_path": "tools/api-checker/config/gwt23_24userApi.conf",
      "new_id": "85bffebb383c87f87f1c32a05fd436cc2dbb9777",
      "new_mode": 33188,
      "new_path": "tools/api-checker/config/gwt23_24userApi.conf"
    },
    {
      "type": "modify",
      "old_id": "ddf32b1e61267b4f1d288ef33681a220e1a95390",
      "old_mode": 33188,
      "old_path": "user/src/com/google/gwt/logging/LogImpl.gwt.xml",
      "new_id": "7c45864121e9f9775ffcc8696e71d27dd7d8162f",
      "new_mode": 33188,
      "new_path": "user/src/com/google/gwt/logging/LogImpl.gwt.xml"
    },
    {
      "type": "modify",
      "old_id": "da3cf0076e8e0ee31cdc25e2fe6aa726e360fcb4",
      "old_mode": 33188,
      "old_path": "user/src/com/google/gwt/logging/LoggingDisabled.gwt.xml",
      "new_id": "e372a729b2a1a13d41047c5e59cf16eca19902cc",
      "new_mode": 33188,
      "new_path": "user/src/com/google/gwt/logging/LoggingDisabled.gwt.xml"
    },
    {
      "type": "modify",
      "old_id": "3604eee06dad23d253949a28b8f732d30655252b",
      "old_mode": 33188,
      "old_path": "user/src/com/google/gwt/logging/client/LogConfiguration.java",
      "new_id": "ef94ca4b9f65f1b2aa5493c4014e347aad3efc40",
      "new_mode": 33188,
      "new_path": "user/src/com/google/gwt/logging/client/LogConfiguration.java"
    },
    {
      "type": "modify",
      "old_id": "3fc9eb9a4e9df416b41dbe9ff405882bfc08249f",
      "old_mode": 33188,
      "old_path": "user/src/com/google/gwt/logging/impl/LevelImpl.java",
      "new_id": "e5c653f9bfd681a0f9dd2b766daac4ca9f66d709",
      "new_mode": 33188,
      "new_path": "user/src/com/google/gwt/logging/impl/LevelImpl.java"
    },
    {
      "type": "modify",
      "old_id": "0cd32596669f3fd82f34d78b147cd88c954baf3b",
      "old_mode": 33188,
      "old_path": "user/src/com/google/gwt/logging/impl/LevelImplNull.java",
      "new_id": "2d4952d8319cb7f2eea9c74a768cb59729b5bdda",
      "new_mode": 33188,
      "new_path": "user/src/com/google/gwt/logging/impl/LevelImplNull.java"
    },
    {
      "type": "modify",
      "old_id": "ed6cb4a2a2e391fad4cbb6ee1c8920f46bd9d4a2",
      "old_mode": 33188,
      "old_path": "user/src/com/google/gwt/logging/impl/LevelImplRegular.java",
      "new_id": "8e5bf03948f9baf8e03190d1a9c857806185fc83",
      "new_mode": 33188,
      "new_path": "user/src/com/google/gwt/logging/impl/LevelImplRegular.java"
    },
    {
      "type": "modify",
      "old_id": "77bd938e3faced5991a0bb46c45a420c43d78b8b",
      "old_mode": 33188,
      "old_path": "user/src/com/google/gwt/logging/impl/LoggerImplRegular.java",
      "new_id": "b6e0ba65a0f9e85510776425e7f1b5ef2348dd41",
      "new_mode": 33188,
      "new_path": "user/src/com/google/gwt/logging/impl/LoggerImplRegular.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "d085d9159a29f1691de6e3afc6dc9d5096715152",
      "new_mode": 33188,
      "new_path": "user/src/com/google/gwt/logging/impl/LoggerImplSevere.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "3dbca6176ca22b0cbcd6e682543a54e517db4cb2",
      "new_mode": 33188,
      "new_path": "user/src/com/google/gwt/logging/impl/LoggerImplWarning.java"
    },
    {
      "type": "modify",
      "old_id": "3555df55b4744eb07c822cd206a56d87e76d2e3b",
      "old_mode": 33188,
      "old_path": "user/super/com/google/gwt/emul/java/util/logging/Level.java",
      "new_id": "ea0781e39fb1703f8a2117be7c38f6398c08c022",
      "new_mode": 33188,
      "new_path": "user/super/com/google/gwt/emul/java/util/logging/Level.java"
    }
  ]
}
