chromium/third_party/blink/renderer/platform/loader/fetch/resource_loading_log.h

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_LOADER_FETCH_RESOURCE_LOADING_LOG_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_LOADER_FETCH_RESOURCE_LOADING_LOG_H_

#include "base/dcheck_is_on.h"

#if DCHECK_IS_ON()
// We can see logs with |--v=N| or |--vmodule=ResourceLoadingLog=N| where N is a
// verbose level, as well as the |--enable-logging=stderr| CLI argument.
#define RESOURCE_LOADING_DVLOG(verbose_level)
#else
#define RESOURCE_LOADING_DVLOG
#endif

#endif  // THIRD_PARTY_BLINK_RENDERER_PLATFORM_LOADER_FETCH_RESOURCE_LOADING_LOG_H_