netwerk/cache2/CacheLog.h
author Gregor Wagner <gwagner@mozilla.com>
Fri, 12 Feb 2016 19:21:30 +0100
changeset 388242 b65c9eaa99ab0d00ebaca3ac81f66260c63a78c5
parent 306186 bb906bd012a20249b63f6feee8a421e15ae644ce
child 353258 c2b3f129d0c88620ee822e5bd4b7365d2a21c2f5
child 489668 cbb8fdf1daf98a15f7d57f6b08d273bdf96aa1a0
child 694109 98e2b4ee9775a2a2b5cc1bb8a390bfe901814f38
permissions -rw-r--r--
merge mc -> pine

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