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

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

Issue 1342963002: Do not print C++ line numbers for Java logging. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 5 years, 3 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 | webrtc/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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 #define LOG_ERR_EX(sev, err) \ 347 #define LOG_ERR_EX(sev, err) \
348 LOG_ERRNO_EX(sev, err) 348 LOG_ERRNO_EX(sev, err)
349 #define LOG_ERR(sev) \ 349 #define LOG_ERR(sev) \
350 LOG_ERRNO(sev) 350 LOG_ERRNO(sev)
351 #define LAST_SYSTEM_ERROR \ 351 #define LAST_SYSTEM_ERROR \
352 (errno) 352 (errno)
353 #endif // WEBRTC_WIN 353 #endif // WEBRTC_WIN
354 354
355 #define LOG_TAG(sev, tag) \ 355 #define LOG_TAG(sev, tag) \
356 LOG_SEVERITY_PRECONDITION(sev) \ 356 LOG_SEVERITY_PRECONDITION(sev) \
357 rtc::LogMessage(__FILE__, __LINE__, sev, tag).stream() 357 rtc::LogMessage(NULL, 0, sev, tag).stream()
358 358
359 #define PLOG(sev, err) \ 359 #define PLOG(sev, err) \
360 LOG_ERR_EX(sev, err) 360 LOG_ERR_EX(sev, err)
361 361
362 // TODO(?): Add an "assert" wrapper that logs in the same manner. 362 // TODO(?): Add an "assert" wrapper that logs in the same manner.
363 363
364 #endif // LOG 364 #endif // LOG
365 365
366 } // namespace rtc 366 } // namespace rtc
367 367
368 #endif // WEBRTC_BASE_LOGGING_H_ 368 #endif // WEBRTC_BASE_LOGGING_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/base/logging.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698