Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
|
Nico
2016/06/04 01:24:59
2016, no (c)
Marton Hunyady
2016/06/06 08:28:54
Done.
| |
| 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 BASE_CHROMEOS_LOGGING_H_ | |
| 6 #define BASE_CHROMEOS_LOGGING_H_ | |
| 7 | |
| 8 #include "base/logging.h" | |
| 9 | |
| 10 namespace logging { | |
| 11 | |
| 12 // These macros are used to log events on ChromeOS which we want to be included | |
| 13 // in the system log of the device. | |
|
Andrew T Wilson (Slow)
2016/06/03 15:39:12
Should we wrap this in #if defined(OS_CHROMEOS)? I
Nico
2016/06/04 01:24:59
I think making them noops on non-OS_CHROMEOS proba
Marton Hunyady
2016/06/06 08:28:54
I made them noops, because otherwise I also need t
| |
| 14 #define CHROMEOS_SYSLOG(severity) LOG(severity) | |
| 15 #define CHROMEOS_SYSLOG_IF(severity, condition) LOG_IF(severity, condition) | |
| 16 | |
| 17 } // namespace logging | |
| 18 | |
| 19 #endif // BASE_CHROMEOS_LOGGING_H_ | |
| OLD | NEW |