From ca600697e1c421ada325d4cf0affc0fda9364d35 Mon Sep 17 00:00:00 2001 From: theWangs <1428148408@qq.com> Date: Wed, 4 Jun 2025 09:08:03 +0800 Subject: [PATCH] =?UTF-8?q?port=E7=9B=AE=E5=BD=95=E6=96=B0=E5=A2=9Eutil=5F?= =?UTF-8?q?logger.h=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- storage/rocksdb/rocksdb/port/util_logger.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 storage/rocksdb/rocksdb/port/util_logger.h diff --git a/storage/rocksdb/rocksdb/port/util_logger.h b/storage/rocksdb/rocksdb/port/util_logger.h new file mode 100644 index 000000000..d2d62a987 --- /dev/null +++ b/storage/rocksdb/rocksdb/port/util_logger.h @@ -0,0 +1,20 @@ +// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. +// This source code is licensed under both the GPLv2 (found in the +// COPYING file in the root directory) and Apache 2.0 License +// (found in the LICENSE.Apache file in the root directory). +// +// Copyright (c) 2011 The LevelDB Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. See the AUTHORS file for names of contributors. + +#pragma once + +// Include the appropriate platform specific file below. If you are +// porting to a new platform, see "port_example.h" for documentation +// of what the new port_.h file must provide. + +#if defined(ROCKSDB_PLATFORM_POSIX) +#include "logging/posix_logger.h" +#elif defined(OS_WIN) +#include "port/win/win_logger.h" +#endif -- Gitee