WebrtcTCPSocketLog.h (669B)
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 /* vim: set sw=2 ts=8 et tw=80 ft=cpp : */ 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 webrtc_tcp_socket_log_h__ 8 #define webrtc_tcp_socket_log_h__ 9 10 #include "mozilla/Logging.h" 11 12 namespace mozilla::net { 13 extern LazyLogModule webrtcTCPSocketLog; 14 } // namespace mozilla::net 15 16 #undef LOG 17 #define LOG(args) \ 18 MOZ_LOG(mozilla::net::webrtcTCPSocketLog, mozilla::LogLevel::Debug, args) 19 20 #endif // webrtc_tcp_socket_log_h__