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

Issue 3575008: Made logging macros evaluate its stream arguments lazily. (Closed)

Created:
10 years, 2 months ago by akalin
Modified:
9 years, 7 months ago
Reviewers:
Evan Martin
CC:
chromium-reviews, Paweł Hajdan Jr., brettw-cc_chromium.org
Visibility:
Public.

Description

Made logging macros evaluate its stream arguments lazily. Also added logging unittests. BUG=57383 TEST=logging_unittest.cc Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=61127 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=61142 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=61249

Patch Set 1 #

Patch Set 2 : Fixed some bugs #

Patch Set 3 : fixed windows compile error, diff against 3551006 #

Total comments: 8

Patch Set 4 : Addressed evmar's coments #

Patch Set 5 : Fixed issue with min log level #

Patch Set 6 : Made CHECK strictly evaluate its arguments #

Patch Set 7 : Fixed more problems, added more comments/tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+320 lines, -173 lines) Patch
M base/base.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M base/leak_tracker.h View 1 chunk +1 line, -1 line 0 comments Download
M base/logging.h View 1 2 3 4 5 6 9 chunks +161 lines, -170 lines 0 comments Download
M base/logging.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
A base/logging_unittest.cc View 1 2 3 4 5 6 1 chunk +154 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
akalin
+evmar for review
10 years, 2 months ago (2010-09-30 05:47:43 UTC) #1
Evan Martin
This LG as best as I can read it http://codereview.chromium.org/3575008/diff/7002/13004 File base/logging.h (left): http://codereview.chromium.org/3575008/diff/7002/13004#oldcode500 base/logging.h:500: ...
10 years, 2 months ago (2010-09-30 18:46:54 UTC) #2
Evan Martin
This LG as best as I can read it
10 years, 2 months ago (2010-09-30 18:50:07 UTC) #3
akalin
Please take another look (with side-by-side diff)! http://codereview.chromium.org/3575008/diff/7002/13004 File base/logging.h (left): http://codereview.chromium.org/3575008/diff/7002/13004#oldcode500 base/logging.h:500: On 2010/09/30 ...
10 years, 2 months ago (2010-09-30 19:27:54 UTC) #4
Evan Martin
LG stands
10 years, 2 months ago (2010-09-30 22:15:11 UTC) #5
akalin
10 years, 2 months ago (2010-10-01 00:00:28 UTC) #6
Fixed a few issues revealed by build breakage, resubmitting once trybots pass.

On 2010/09/30 22:15:11, Evan Martin wrote:
> LG stands

Powered by Google App Engine
This is Rietveld 408576698