WebSocketLog.h 609 B

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