|
|
DescriptionAdding std::ostream& operator<<(std::ostream& out, NSError* error)
BUG=624811
Review-Url: https://codereview.chromium.org/2745323002
Cr-Commit-Position: refs/heads/master@{#460854}
Committed: https://chromium.googlesource.com/chromium/src/+/568d1b3fc68429c453b883e67db2389c74892c4e
Patch Set 1 : . #Patch Set 2 : Support for nil error #Patch Set 3 : Moving operator<< to bluetooth_adapter_mac.mm #
Messages
Total messages: 33 (23 generated)
Patchset #1 (id:1) has been deleted
Patchset #1 (id:20001) has been deleted
Patchset #1 (id:40001) has been deleted
Description was changed from ========== Adding BluetoothDeviceMac::GetStringFromNSError() BUG=624811 ========== to ========== Adding std::ostream& operator<<(std::ostream& out, NSError* error) BUG=624811 ==========
jlebel@chromium.org changed reviewers: + scheib@chromium.org
Hello Vincent, I would like to add this function so we can easily log NSError. I'm not sure bluetooth_device_mac.mm is the best file to put it. What do you think? Thanks,
scheib@chromium.org changed reviewers: + mark@chromium.org
mark, help us know where to put stream operator for NSError? I like this approach. Probably another file, maybe src/base/mac/mac_util.h?
Patchset #3 (id:100001) has been deleted
Hello Mark, Can you review this patch to add operator<< for NSError*? Thanks,
scheib@chromium.org changed reviewers: + thakis@chromium.org
Nico, would you help us know where to put stream operator for NSError? I like this approach. Probably another file, maybe src/base/mac/mac_util.h?
If you only need it in bluetooth device code, put it there. See base/OWNERS for the general "don't put stuff in base" spiel. In general, we don't like logging in chrome. Add temporary logging when you're actively debugging something, and else don't put in logging. It bloats the binary, and most times YAGNI.
On 2017/03/30 17:44:26, Nico (afk until Tue Apr 4) wrote: > If you only need it in bluetooth device code, put it there. See base/OWNERS for > the general "don't put stuff in base" spiel. > > In general, we don't like logging in chrome. Add temporary logging when you're > actively debugging something, and else don't put in logging. It bloats the > binary, and most times YAGNI. ok, I will add it in device/bluetooth Thanks,
The CQ bit was checked by scheib@chromium.org to run a CQ dry run
Patchset #3 (id:120001) has been deleted
jlebel@chromium.org changed reviewers: - mark@chromium.org, thakis@chromium.org
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by scheib@chromium.org
The CQ bit was checked by scheib@chromium.org
lgtm
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by jlebel@chromium.org
The CQ bit was checked by jlebel@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by jlebel@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from scheib@chromium.org Link to the patchset: https://codereview.chromium.org/2745323002/#ps140001 (title: "Moving operator<< to bluetooth_adapter_mac.mm")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 140001, "attempt_start_ts": 1490902221269210, "parent_rev": "9c03a0c535466dd59dd578e1d180863dbe3f1fd9", "commit_rev": "568d1b3fc68429c453b883e67db2389c74892c4e"}
Message was sent while issue was closed.
Description was changed from ========== Adding std::ostream& operator<<(std::ostream& out, NSError* error) BUG=624811 ========== to ========== Adding std::ostream& operator<<(std::ostream& out, NSError* error) BUG=624811 Review-Url: https://codereview.chromium.org/2745323002 Cr-Commit-Position: refs/heads/master@{#460854} Committed: https://chromium.googlesource.com/chromium/src/+/568d1b3fc68429c453b883e67db2... ==========
Message was sent while issue was closed.
Committed patchset #3 (id:140001) as https://chromium.googlesource.com/chromium/src/+/568d1b3fc68429c453b883e67db2... |