[email protected] | 6f742dd0 | 2013-11-26 23:19:50 | [diff] [blame] | 1 | // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef REMOTING_BASE_LOGGING_H_ |
| 6 | #define REMOTING_BASE_LOGGING_H_ |
| 7 | |
| 8 | #include "base/logging.h" |
| 9 | |
| 10 | namespace remoting { |
| 11 | |
nicholss | f620a47c | 2017-02-02 23:39:08 | [diff] [blame^] | 12 | // Chromoting host code should use HOST_LOG instead of LOG(INFO) to bypass the |
| 13 | // CheckSpamLogging presubmit check. This won't spam chrome output because it |
| 14 | // runs in the chromoting host processes. |
[email protected] | 6f742dd0 | 2013-11-26 23:19:50 | [diff] [blame] | 15 | // In the future we may also consider writing to a log file instead of the |
| 16 | // console. |
| 17 | #define HOST_LOG LOG(INFO) |
kelvinp | 72b35f26 | 2016-06-23 01:03:23 | [diff] [blame] | 18 | #define HOST_DLOG DLOG(INFO) |
[email protected] | 6f742dd0 | 2013-11-26 23:19:50 | [diff] [blame] | 19 | |
| 20 | } // namespace remoting |
| 21 | |
| 22 | #endif // REMOTING_BASE_LOGGING_H_ |