1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 #ifndef Cache2Log__h__ 6 #define Cache2Log__h__ 7 8 #include "mozilla/Logging.h" 9 10 namespace mozilla { 11 namespace net { 12 13 extern LazyLogModule gCache2Log; 14 #define LOG(x) MOZ_LOG(gCache2Log, mozilla::LogLevel::Debug, x) 15 #define LOG_ENABLED() MOZ_LOG_TEST(gCache2Log, mozilla::LogLevel::Debug) 16 17 } // namespace net 18 } // namespace mozilla 19 20 #endif 21