1 // Copyright 2016 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 #ifndef NET_THIRD_PARTY_QUICHE_OVERRIDES_QUICHE_PLATFORM_IMPL_QUICHE_BUG_TRACKER_IMPL_H_ 5 #define NET_THIRD_PARTY_QUICHE_OVERRIDES_QUICHE_PLATFORM_IMPL_QUICHE_BUG_TRACKER_IMPL_H_ 6 7 #include "net/third_party/quiche/src/quiche/quic/platform/api/quic_logging.h" 8 9 #define QUICHE_BUG_IMPL(bug_id) QUIC_LOG(DFATAL) 10 #define QUICHE_BUG_IF_IMPL(bug_id, condition) QUIC_LOG_IF(DFATAL, condition) 11 #define QUICHE_PEER_BUG_IMPL(bug_id) QUIC_LOG(ERROR) 12 #define QUICHE_PEER_BUG_IF_IMPL(bug_id, condition) QUIC_LOG_IF(ERROR, condition) 13 14 #define QUICHE_BUG_V2_IMPL(bug_id) QUIC_LOG(DFATAL) 15 #define QUICHE_BUG_IF_V2_IMPL(bug_id, condition) QUIC_LOG_IF(DFATAL, condition) 16 #define QUICHE_PEER_BUG_V2_IMPL(bug_id) QUIC_LOG(ERROR) 17 #define QUICHE_PEER_BUG_IF_V2_IMPL(bug_id, condition) \ 18 QUIC_LOG_IF(ERROR, condition) 19 20 #endif // NET_THIRD_PARTY_QUICHE_OVERRIDES_QUICHE_PLATFORM_IMPL_QUICHE_BUG_TRACKER_IMPL_H_ 21