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

Side by Side Diff: net/quic/platform/api/quic_logging.h

Issue 2964583002: Landing Recent QUIC changes until Jun 27 19:50:48 2017 +0000 (Closed)
Patch Set: 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 | « net/quic/core/spdy_utils_test.cc ('k') | net/quic/platform/impl/quic_logging_impl.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) 2017 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2017 The Chromium 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 #ifndef NET_QUIC_PLATFORM_API_QUIC_LOGGING_H_ 5 #ifndef NET_QUIC_PLATFORM_API_QUIC_LOGGING_H_
6 #define NET_QUIC_PLATFORM_API_QUIC_LOGGING_H_ 6 #define NET_QUIC_PLATFORM_API_QUIC_LOGGING_H_
7 7
8 #include "net/quic/platform/impl/quic_logging_impl.h" 8 #include "net/quic/platform/impl/quic_logging_impl.h"
9 9
10 // Please note following QUIC_LOG are platform dependent: 10 // Please note following QUIC_LOG are platform dependent:
11 // INFO severity can be degraded (to VLOG(1) or DVLOG(1)). 11 // INFO severity can be degraded (to VLOG(1) or DVLOG(1)).
12 // Some platforms may not support QUIC_LOG_FIRST_N or QUIC_LOG_EVERY_N_SEC, and 12 // Some platforms may not support QUIC_LOG_FIRST_N or QUIC_LOG_EVERY_N_SEC, and
13 // they would simply be translated to LOG. 13 // they would simply be translated to LOG.
14 14
15 #define QUIC_DVLOG(verbose_level) QUIC_DVLOG_IMPL(verbose_level) 15 #define QUIC_DVLOG(verbose_level) QUIC_DVLOG_IMPL(verbose_level)
16 #define QUIC_DLOG(severity) QUIC_DLOG_IMPL(severity) 16 #define QUIC_DLOG(severity) QUIC_DLOG_IMPL(severity)
17 #define QUIC_DLOG_IF(severity, condition) QUIC_DLOG_IF_IMPL(severity, condition) 17 #define QUIC_DLOG_IF(severity, condition) QUIC_DLOG_IF_IMPL(severity, condition)
18 #define QUIC_LOG(severity) QUIC_LOG_IMPL(severity) 18 #define QUIC_LOG(severity) QUIC_LOG_IMPL(severity)
19 #define QUIC_LOG_FIRST_N(severity, n) QUIC_LOG_FIRST_N_IMPL(severity, n) 19 #define QUIC_LOG_FIRST_N(severity, n) QUIC_LOG_FIRST_N_IMPL(severity, n)
20 #define QUIC_LOG_EVERY_N_SEC(severity, seconds) \ 20 #define QUIC_LOG_EVERY_N_SEC(severity, seconds) \
21 QUIC_LOG_EVERY_N_SEC_IMPL(severity, seconds) 21 QUIC_LOG_EVERY_N_SEC_IMPL(severity, seconds)
22 #define QUIC_LOG_IF(severity, condition) QUIC_LOG_IF_IMPL(severity, condition) 22 #define QUIC_LOG_IF(severity, condition) QUIC_LOG_IF_IMPL(severity, condition)
23 23
24 #define QUIC_PREDICT_FALSE(x) QUIC_PREDICT_FALSE_IMPL(x) 24 #define QUIC_PREDICT_FALSE(x) QUIC_PREDICT_FALSE_IMPL(x)
25 25
26 #define QUIC_NOTREACHED() QUIC_NOTREACHED_IMPL() 26 #define QUIC_NOTREACHED() QUIC_NOTREACHED_IMPL()
27 27
28 #define QUIC_PLOG(severity) QUIC_PLOG_IMPL(severity)
29
28 #endif // NET_QUIC_PLATFORM_API_QUIC_LOGGING_H_ 30 #endif // NET_QUIC_PLATFORM_API_QUIC_LOGGING_H_
OLDNEW
« no previous file with comments | « net/quic/core/spdy_utils_test.cc ('k') | net/quic/platform/impl/quic_logging_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698