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

Side by Side Diff: system_logging.cc

Issue 2819009: Change include paths to reflect new directory. (Closed) Base URL: ssh://git@chromiumos-git//crash-reporter.git
Patch Set: Fix a cpl others Created 10 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 | « crash_reporter.cc ('k') | system_logging_mock.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stdarg.h> 5 #include <stdarg.h>
6 #include <syslog.h> 6 #include <syslog.h>
7 7
8 #include "crash/system_logging.h" 8 #include "crash-reporter/system_logging.h"
9 9
10 std::string SystemLoggingImpl::identity_; 10 std::string SystemLoggingImpl::identity_;
11 11
12 SystemLoggingImpl::SystemLoggingImpl() { 12 SystemLoggingImpl::SystemLoggingImpl() {
13 } 13 }
14 14
15 SystemLoggingImpl::~SystemLoggingImpl() { 15 SystemLoggingImpl::~SystemLoggingImpl() {
16 } 16 }
17 17
18 void SystemLoggingImpl::Initialize(const char *ident) { 18 void SystemLoggingImpl::Initialize(const char *ident) {
(...skipping 16 matching lines...) Expand all
35 vsyslog(LOG_WARNING, format, vl); 35 vsyslog(LOG_WARNING, format, vl);
36 va_end(vl); 36 va_end(vl);
37 } 37 }
38 38
39 void SystemLoggingImpl::LogError(const char *format, ...) { 39 void SystemLoggingImpl::LogError(const char *format, ...) {
40 va_list vl; 40 va_list vl;
41 va_start(vl, format); 41 va_start(vl, format);
42 vsyslog(LOG_ERR, format, vl); 42 vsyslog(LOG_ERR, format, vl);
43 va_end(vl); 43 va_end(vl);
44 } 44 }
OLDNEW
« no previous file with comments | « crash_reporter.cc ('k') | system_logging_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698