tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

WebTransportLog.h (646B)


      1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* vim: set sw=2 ts=8 et tw=80 : */
      3 /* This Source Code Form is subject to the terms of the Mozilla Public
      4 * License, v. 2.0. If a copy of the MPL was not distributed with this
      5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      6 
      7 #ifndef WebTransportLog_h
      8 #define WebTransportLog_h
      9 
     10 #include "mozilla/Logging.h"
     11 #include "mozilla/net/NeckoChild.h"
     12 
     13 namespace mozilla::net {
     14 extern LazyLogModule webTransportLog;
     15 }  // namespace mozilla::net
     16 
     17 #undef LOG
     18 #define LOG(args) \
     19  MOZ_LOG(mozilla::net::webTransportLog, mozilla::LogLevel::Debug, args)
     20 
     21 #endif