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

Side by Side Diff: webrtc/rtc_base/logging.h

Issue 2877023002: Move webrtc/{base => rtc_base} (Closed)
Patch Set: update presubmit.py and DEPS include rules Created 3 years, 5 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 | « webrtc/rtc_base/location.cc ('k') | webrtc/rtc_base/logging.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 25 matching lines...) Expand all
36 // Windows and _ERRNO on POSIX. 36 // Windows and _ERRNO on POSIX.
37 // (The above three also all have _EX versions that let you specify the error 37 // (The above three also all have _EX versions that let you specify the error
38 // code, rather than using the last one.) 38 // code, rather than using the last one.)
39 // LOG_E(sev, ctx, err, ...) logs a detailed error interpreted using the 39 // LOG_E(sev, ctx, err, ...) logs a detailed error interpreted using the
40 // specified context. 40 // specified context.
41 // LOG_CHECK_LEVEL(sev) (and LOG_CHECK_LEVEL_V(sev)) can be used as a test 41 // LOG_CHECK_LEVEL(sev) (and LOG_CHECK_LEVEL_V(sev)) can be used as a test
42 // before performing expensive or sensitive operations whose sole purpose is 42 // before performing expensive or sensitive operations whose sole purpose is
43 // to output logging data at the desired level. 43 // to output logging data at the desired level.
44 // Lastly, PLOG(sev, err) is an alias for LOG_ERR_EX. 44 // Lastly, PLOG(sev, err) is an alias for LOG_ERR_EX.
45 45
46 #ifndef WEBRTC_BASE_LOGGING_H_ 46 #ifndef WEBRTC_RTC_BASE_LOGGING_H_
47 #define WEBRTC_BASE_LOGGING_H_ 47 #define WEBRTC_RTC_BASE_LOGGING_H_
48 48
49 #include <errno.h> 49 #include <errno.h>
50 50
51 #include <list> 51 #include <list>
52 #include <sstream> 52 #include <sstream>
53 #include <string> 53 #include <string>
54 #include <utility> 54 #include <utility>
55 55
56 #if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS) 56 #if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS)
57 #include <CoreServices/CoreServices.h> 57 #include <CoreServices/CoreServices.h>
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 360
361 #define PLOG(sev, err) \ 361 #define PLOG(sev, err) \
362 LOG_ERR_EX(sev, err) 362 LOG_ERR_EX(sev, err)
363 363
364 // TODO(?): Add an "assert" wrapper that logs in the same manner. 364 // TODO(?): Add an "assert" wrapper that logs in the same manner.
365 365
366 #endif // LOG 366 #endif // LOG
367 367
368 } // namespace rtc 368 } // namespace rtc
369 369
370 #endif // WEBRTC_BASE_LOGGING_H_ 370 #endif // WEBRTC_RTC_BASE_LOGGING_H_
OLDNEW
« no previous file with comments | « webrtc/rtc_base/location.cc ('k') | webrtc/rtc_base/logging.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698