| OLD | NEW |
| 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_IMPL_QUIC_LOGGING_IMPL_H_ | 5 #ifndef NET_QUIC_PLATFORM_IMPL_QUIC_LOGGING_IMPL_H_ |
| 6 #define NET_QUIC_PLATFORM_IMPL_QUIC_LOGGING_IMPL_H_ | 6 #define NET_QUIC_PLATFORM_IMPL_QUIC_LOGGING_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 | 9 |
| 10 #define QUIC_LOG_IMPL(severity) QUIC_CHROMIUM_LOG_##severity | 10 #define QUIC_LOG_IMPL(severity) QUIC_CHROMIUM_LOG_##severity |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 #define QUIC_CHROMIUM_LOG_0 QUIC_CHROMIUM_LOG_ERROR | 50 #define QUIC_CHROMIUM_LOG_0 QUIC_CHROMIUM_LOG_ERROR |
| 51 #define QUIC_CHROMIUM_DLOG_0 QUIC_CHROMIUM_DLOG_ERROR | 51 #define QUIC_CHROMIUM_DLOG_0 QUIC_CHROMIUM_DLOG_ERROR |
| 52 #define QUIC_CHROMIUM_LOG_IF_0 QUIC_CHROMIUM_LOG_IF_ERROR | 52 #define QUIC_CHROMIUM_LOG_IF_0 QUIC_CHROMIUM_LOG_IF_ERROR |
| 53 #define QUIC_CHROMIUM_DLOG_IF_0 QUIC_CHROMIUM_DLOG_IF_ERROR | 53 #define QUIC_CHROMIUM_DLOG_IF_0 QUIC_CHROMIUM_DLOG_IF_ERROR |
| 54 #endif | 54 #endif |
| 55 | 55 |
| 56 #define QUIC_PREDICT_FALSE_IMPL(x) x | 56 #define QUIC_PREDICT_FALSE_IMPL(x) x |
| 57 | 57 |
| 58 #define QUIC_NOTREACHED_IMPL() NOTREACHED() | 58 #define QUIC_NOTREACHED_IMPL() NOTREACHED() |
| 59 | 59 |
| 60 #define QUIC_PLOG_IMPL(severity) DVLOG(1) |
| 61 |
| 60 #endif // NET_QUIC_PLATFORM_IMPL_QUIC_LOGGING_IMPL_H_ | 62 #endif // NET_QUIC_PLATFORM_IMPL_QUIC_LOGGING_IMPL_H_ |
| OLD | NEW |