netwerk/cache2/CacheLog.h
author Patrick McManus <mcmanus@ducksong.com>
Mon, 02 Nov 2015 23:35:29 -0500
changeset 306855 bb906bd012a20249b63f6feee8a421e15ae644ce
parent 285938 91d6e262b662a0b4e47358665e222d3927337af9
child 508163 6f3709b3878117466168c40affa7bca0b60cf75b
permissions -rw-r--r--
bug 1219466 - convert netwerk to LazyLogModule r=valentin.gosu

/* 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/. */

#ifndef Cache2Log__h__
#define Cache2Log__h__

#include "mozilla/Logging.h"

namespace mozilla {
namespace net {

extern LazyLogModule gCache2Log;
#define LOG(x)  MOZ_LOG(gCache2Log, mozilla::LogLevel::Debug, x)
#define LOG_ENABLED() MOZ_LOG_TEST(gCache2Log, mozilla::LogLevel::Debug)

} // namespace net
} // namespace mozilla

#endif