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

Unified Diff: mojo/public/cpp/environment/lib/default_logger_internal.h

Issue 334263010: Mojo: Add GetMinimumLogLevel() to the logger interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 6 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 | « mojo/public/cpp/environment/lib/default_logger.cc ('k') | mojo/public/cpp/environment/lib/environment.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/environment/lib/default_logger_internal.h
diff --git a/mojo/public/cpp/environment/lib/default_logger_internal.h b/mojo/public/cpp/environment/lib/default_logger_internal.h
new file mode 100644
index 0000000000000000000000000000000000000000..9a131a0780fc3795ad1ff6c379dbd2b430c1faf4
--- /dev/null
+++ b/mojo/public/cpp/environment/lib/default_logger_internal.h
@@ -0,0 +1,20 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef MOJO_PUBLIC_CPP_ENVIRONMENT_LIB_DEFAULT_LOGGER_INTERNAL_H_
+#define MOJO_PUBLIC_CPP_ENVIRONMENT_LIB_DEFAULT_LOGGER_INTERNAL_H_
+
+#include "mojo/public/c/environment/logger.h"
+
+namespace mojo {
+namespace internal {
+
+// Sets the minimum log level (which will always be at most
+// |MOJO_LOG_LEVEL_FATAL|).
+void SetMinimumLogLevel(MojoLogLevel minimum_log_level);
+
+} // namespace internal
+} // namespace mojo
+
+#endif // MOJO_PUBLIC_CPP_ENVIRONMENT_LIB_DEFAULT_LOGGER_INTERNAL_H_
« no previous file with comments | « mojo/public/cpp/environment/lib/default_logger.cc ('k') | mojo/public/cpp/environment/lib/environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698