summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-17 20:18:15 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-17 20:18:15 +0000
commit23e0b7a6f0a2c8da726793dcc372f333e2a79f22 (patch)
tree5c69b6c2ada316031905d535d0f06f56919d4d0b
parent08d05cc49a59899ffa2c82574648a8dce278ecab (diff)
downloadchromium_src-23e0b7a6f0a2c8da726793dcc372f333e2a79f22.zip
chromium_src-23e0b7a6f0a2c8da726793dcc372f333e2a79f22.tar.gz
chromium_src-23e0b7a6f0a2c8da726793dcc372f333e2a79f22.tar.bz2
Mojo: Add a C definition for MOJO_LOG_LEVEL_VERBOSE.
(Per review comment from https://codereview.chromium.org/330933004/.) TBR=darin@chromium.org Review URL: https://codereview.chromium.org/339923003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277846 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--mojo/public/c/environment/logger.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mojo/public/c/environment/logger.h b/mojo/public/c/environment/logger.h
index fe2ed19..9829ec0 100644
--- a/mojo/public/c/environment/logger.h
+++ b/mojo/public/c/environment/logger.h
@@ -19,6 +19,7 @@ const MojoLogLevel MOJO_LOG_LEVEL_WARNING = 1;
const MojoLogLevel MOJO_LOG_LEVEL_ERROR = 2;
const MojoLogLevel MOJO_LOG_LEVEL_FATAL = 3;
#else
+#define MOJO_LOG_LEVEL_VERBOSE ((MojoLogLevel) -1)
#define MOJO_LOG_LEVEL_INFO ((MojoLogLevel) 0)
#define MOJO_LOG_LEVEL_WARNING ((MojoLogLevel) 1)
#define MOJO_LOG_LEVEL_ERROR ((MojoLogLevel) 2)