• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #ifndef QUICHE_QUIC_PLATFORM_API_QUIC_LOGGING_H_
6 #define QUICHE_QUIC_PLATFORM_API_QUIC_LOGGING_H_
7 
8 #include "quiche/common/platform/api/quiche_logging.h"
9 
10 // Please note following QUIC_LOG are platform dependent:
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
13 // they would simply be translated to LOG.
14 
15 #define QUIC_DVLOG QUICHE_DVLOG
16 #define QUIC_DVLOG_IF QUICHE_DVLOG_IF
17 #define QUIC_DLOG QUICHE_DLOG
18 #define QUIC_DLOG_IF QUICHE_DLOG_IF
19 #define QUIC_VLOG QUICHE_VLOG
20 #define QUIC_LOG QUICHE_LOG
21 #define QUIC_LOG_FIRST_N QUICHE_LOG_FIRST_N
22 #define QUIC_LOG_EVERY_N_SEC QUICHE_LOG_EVERY_N_SEC
23 #define QUIC_LOG_IF QUICHE_LOG_IF
24 
25 #define QUIC_PLOG QUICHE_PLOG
26 
27 #define QUIC_DLOG_INFO_IS_ON QUICHE_DLOG_INFO_IS_ON
28 #define QUIC_LOG_INFO_IS_ON QUICHE_LOG_INFO_IS_ON
29 #define QUIC_LOG_WARNING_IS_ON QUICHE_LOG_WARNING_IS_ON
30 #define QUIC_LOG_ERROR_IS_ON QUICHE_LOG_ERROR_IS_ON
31 
32 #endif  // QUICHE_QUIC_PLATFORM_API_QUIC_LOGGING_H_
33