chromium/third_party/skia/src/gpu/graphite/Log.h

/*
 * Copyright 2022 Google LLC
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef skgpu_graphite_Log_DEFINED
#define skgpu_graphite_Log_DEFINED

namespace skgpu::graphite {
enum class Priority : int {};
};  // namespace skgpu::graphite

#if !defined(SKGPU_LOWEST_ACTIVE_PRIORITY)
#ifdef SK_DEBUG
    #define SKGPU_LOWEST_ACTIVE_PRIORITY
#else
    #define SKGPU_LOWEST_ACTIVE_PRIORITY
#endif
#endif
#define SKGPU_LOG(priority, fmt, ...)
#define SKGPU_LOG_F(fmt, ...)
#define SKGPU_LOG_E(fmt, ...)
#define SKGPU_LOG_W(fmt, ...)
#define SKGPU_LOG_D(fmt, ...)

#endif // skgpu_graphite_Log_DEFINED