Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Issue 244583002: Extracted logging::SystemErrorCodeToString function. (Closed)

Created:
6 years, 8 months ago by Vitaly Buka (NO REVIEWS)
Modified:
6 years, 8 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Base URL:
http://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Extracted logging::SystemErrorCodeToString function. Allows to use any errors, and particularly useful for logging HRESULT on Windows. Included error code on windows into error message. Removed unused LOG_GETLASTERROR_MODULE logging macros. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=265460

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -87 lines) Patch
M base/logging.h View 1 6 chunks +12 lines, -37 lines 0 comments Download
M base/logging.cc View 1 2 3 4 chunks +27 lines, -45 lines 0 comments Download
M base/logging_unittest.cc View 1 5 chunks +9 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Vitaly Buka (NO REVIEWS)
6 years, 8 months ago (2014-04-21 01:28:29 UTC) #1
brettw
People keep trying to add different logging variants and if we added them all, the ...
6 years, 8 months ago (2014-04-21 16:45:07 UTC) #2
Vitaly Buka (NO REVIEWS)
How about this one? Not it's just small cleanup and new function logging::SystemErrorCodeToString.
6 years, 8 months ago (2014-04-21 19:10:59 UTC) #3
Vitaly Buka (NO REVIEWS)
How about this one? Now it's just small cleanup and new function logging::SystemErrorCodeToString.
6 years, 8 months ago (2014-04-21 19:11:20 UTC) #4
grt (UTC plus 2)
lgtm. i like that this will give us a handy replacement for the various ways ...
6 years, 8 months ago (2014-04-22 17:02:34 UTC) #5
willchan no longer on Chromium
Removed myself from reviewers since Brett's already commented earlier :) Re-add me if needed. On ...
6 years, 8 months ago (2014-04-22 18:16:00 UTC) #6
brettw
Looks great! LGTM https://codereview.chromium.org/244583002/diff/130001/base/logging.cc File base/logging.cc (right): https://codereview.chromium.org/244583002/diff/130001/base/logging.cc#newcode742 base/logging.cc:742: msgbuf[--len] = 0; If you happen ...
6 years, 8 months ago (2014-04-22 19:29:44 UTC) #7
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/244583002/diff/130001/base/logging.cc File base/logging.cc (right): https://codereview.chromium.org/244583002/diff/130001/base/logging.cc#newcode742 base/logging.cc:742: msgbuf[--len] = 0; On 2014/04/22 19:29:44, brettw wrote: > ...
6 years, 8 months ago (2014-04-22 21:51:09 UTC) #8
Vitaly Buka (NO REVIEWS)
The CQ bit was checked by vitalybuka@chromium.org
6 years, 8 months ago (2014-04-22 21:51:12 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/244583002/180001
6 years, 8 months ago (2014-04-22 21:52:26 UTC) #10
commit-bot: I haz the power
6 years, 8 months ago (2014-04-23 01:11:06 UTC) #11
Message was sent while issue was closed.
Change committed as 265460

Powered by Google App Engine
This is Rietveld 408576698