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

Side by Side Diff: base/chromeos/logging.h

Issue 1923943003: Add logging to remote commands (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Syslog logging in upload_job_impl Created 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/policy/remote_commands/device_command_reboot_job.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 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 BASE_CHROMEOS_LOGGING_H_
6 #define BASE_CHROMEOS_LOGGING_H_
7
8 #include "base/logging.h"
9
10 namespace logging {
11
12 #if defined(OS_CHROMEOS)
13
14 // These macros are used to log events on ChromeOS which we want to be included
15 // in the system log of the device.
16 #define CHROMEOS_SYSLOG(severity) LOG(severity)
17 #define CHROMEOS_SYSLOG_IF(severity, condition) LOG_IF(severity, condition)
18
19 #else // Not defined(OS_CHROMEOS)
20
21 #define CHROMEOS_SYSLOG(severity) LOG_IF(severity, false)
22 #define CHROMEOS_SYSLOG_IF(severity, condition) LOG_IF(severity, false)
23
24 #endif // defined(OS_CHROMEOS)
25
26 } // namespace logging
27
28 #endif // BASE_CHROMEOS_LOGGING_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/policy/remote_commands/device_command_reboot_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698