netwerk/cache2/CacheLog.h
author Dan Minor <dminor@mozilla.com>
Tue, 31 Mar 2020 17:00:14 +0000
changeset 584256 77f0256eb6e7c747619911a86a4708a4d4d08803
parent 508163 6f3709b3878117466168c40affa7bca0b60cf75b
permissions -rw-r--r--
Bug 1619709 - Check native_capturer in onFrameCaptured; r=ng, a=RyanVM Differential Revision: https://phabricator.services.mozilla.com/D68450

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