Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(666)

Issue 73010: Save and restore the value of GetLastError() when [D]LOG/[D]CHECK etc on Wind... (Closed)

Created:
11 years, 8 months ago by tommi (sloooow) - chröme
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Save and restore the value of GetLastError() when [D]LOG/[D]CHECK etc on Windows. Also for log levels higher than INFO, the value of GLE is tagged onto the log message. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=13667

Patch Set 1 #

Total comments: 8

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -0 lines) Patch
M base/logging.h View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M base/logging.cc View 1 2 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
tommi (sloooow) - chröme
11 years, 8 months ago (2009-04-13 19:46:16 UTC) #1
brettw
http://codereview.chromium.org/73010/diff/1/2 File base/logging.cc (right): http://codereview.chromium.org/73010/diff/1/2#newcode432 Line 432: stream_ << StringPrintf(" [le: %i]", last_error_.get_error()); I'm not ...
11 years, 8 months ago (2009-04-13 20:24:41 UTC) #2
tommi (sloooow) - chröme
http://codereview.chromium.org/73010/diff/1/2 File base/logging.cc (right): http://codereview.chromium.org/73010/diff/1/2#newcode432 Line 432: stream_ << StringPrintf(" [le: %i]", last_error_.get_error()); On 2009/04/13 ...
11 years, 8 months ago (2009-04-13 20:45:15 UTC) #3
brettw
http://codereview.chromium.org/73010/diff/1/2 File base/logging.cc (right): http://codereview.chromium.org/73010/diff/1/2#newcode432 Line 432: stream_ << StringPrintf(" [le: %i]", last_error_.get_error()); I look ...
11 years, 8 months ago (2009-04-13 20:52:27 UTC) #4
tommi (sloooow) - chröme
http://codereview.chromium.org/73010/diff/1/2 File base/logging.cc (right): http://codereview.chromium.org/73010/diff/1/2#newcode432 Line 432: stream_ << StringPrintf(" [le: %i]", last_error_.get_error()); On 2009/04/13 ...
11 years, 8 months ago (2009-04-13 21:01:44 UTC) #5
darin (slow to review)
net> grep -r CHECK . | grep -v \.svn | grep .cc: | wc -l ...
11 years, 8 months ago (2009-04-13 21:32:22 UTC) #6
tommi (sloooow) - chröme
lates changes uploaded. no longer adding anything to the log string. just saving the last ...
11 years, 8 months ago (2009-04-14 15:47:38 UTC) #7
brettw
11 years, 8 months ago (2009-04-14 16:50:58 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld 408576698