Index: remoting/base/logging.h |
diff --git a/remoting/base/logging.h b/remoting/base/logging.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..77f618c1e61f93264c156516f3369f07c425e83b |
--- /dev/null |
+++ b/remoting/base/logging.h |
@@ -0,0 +1,21 @@ |
+// Copyright 2013 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 REMOTING_BASE_LOGGING_H_ |
+#define REMOTING_BASE_LOGGING_H_ |
+ |
+#include "base/logging.h" |
+ |
+namespace remoting { |
+ |
+// Chromoting host code should use HOST_LOG instead of LOG(INFO) to bypass |
+// the CheckSpamLogging presubmit check. This won't spam chrome output because |
+// it runs in the chromoting host processes. |
+// In the future we may also consider writing to a log file instead of the |
+// console. |
+#define HOST_LOG LOG(INFO) |
+ |
+} // namespace remoting |
+ |
+#endif // REMOTING_BASE_LOGGING_H_ |