2013-09-20 13:11:25 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
2014-05-01 15:28:12 +04:00
|
|
|
#ifndef Cache2Log__h__
|
|
|
|
#define Cache2Log__h__
|
2013-09-20 13:11:25 +04:00
|
|
|
|
2015-05-19 21:15:34 +03:00
|
|
|
#include "mozilla/Logging.h"
|
2013-09-20 13:11:25 +04:00
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace net {
|
|
|
|
|
2015-11-03 07:35:29 +03:00
|
|
|
extern LazyLogModule gCache2Log;
|
|
|
|
#define LOG(x) MOZ_LOG(gCache2Log, mozilla::LogLevel::Debug, x)
|
|
|
|
#define LOG_ENABLED() MOZ_LOG_TEST(gCache2Log, mozilla::LogLevel::Debug)
|
2013-09-20 13:11:25 +04:00
|
|
|
|
2015-07-13 18:25:42 +03:00
|
|
|
} // namespace net
|
|
|
|
} // namespace mozilla
|
2013-09-20 13:11:25 +04:00
|
|
|
|
|
|
|
#endif
|