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

Unified Diff: base/logging.h

Issue 2386613003: Test to compile out VLOG
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/logging.h
diff --git a/base/logging.h b/base/logging.h
index d0aba8209432ea46c8ea87b4a9420b88ece182b8..67eff54396fe53c9a4db37b6e1ff9b50e9a6d2b1 100644
--- a/base/logging.h
+++ b/base/logging.h
@@ -381,12 +381,9 @@ const LogSeverity LOG_0 = LOG_ERROR;
#define VLOG_STREAM(verbose_level) \
::logging::LogMessage(__FILE__, __LINE__, -verbose_level).stream()
-#define VLOG(verbose_level) \
- LAZY_STREAM(VLOG_STREAM(verbose_level), VLOG_IS_ON(verbose_level))
+#define VLOG(verbose_level) EAT_STREAM_PARAMETERS
-#define VLOG_IF(verbose_level, condition) \
- LAZY_STREAM(VLOG_STREAM(verbose_level), \
- VLOG_IS_ON(verbose_level) && (condition))
+#define VLOG_IF(verbose_level, condition) EAT_STREAM_PARAMETERS
#if defined (OS_WIN)
#define VPLOG_STREAM(verbose_level) \
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698