tor-browser

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

WebSocketLog.h (671B)


      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 WebSocketLog_h
      8 #define WebSocketLog_h
      9 
     10 #include "base/basictypes.h"
     11 #include "mozilla/Logging.h"
     12 #include "mozilla/net/NeckoChild.h"
     13 
     14 namespace mozilla {
     15 namespace net {
     16 extern LazyLogModule webSocketLog;
     17 }
     18 }  // namespace mozilla
     19 
     20 #undef LOG
     21 #define LOG(args) \
     22  MOZ_LOG(mozilla::net::webSocketLog, mozilla::LogLevel::Debug, args)
     23 
     24 #endif