修复报错
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
#pragma once
|
||||
// Minimal logger stub — no external logging library required.
|
||||
// Replace with a real logger (e.g. spdlog) if needed.
|
||||
#include <iostream>
|
||||
#define LOG_INFO(...) (void)0
|
||||
#define LOG_WARN(...) (void)0
|
||||
#define LOG_ERROR(...) (void)0
|
||||
#define LOG_DEBUG(...) (void)0
|
||||
#ifndef TOOLS__LOGGER_HPP
|
||||
#define TOOLS__LOGGER_HPP
|
||||
|
||||
#include <spdlog/spdlog.h>
|
||||
|
||||
namespace tools
|
||||
{
|
||||
std::shared_ptr<spdlog::logger> logger();
|
||||
|
||||
} // namespace tools
|
||||
|
||||
#endif // TOOLS__LOGGER_HPP
|
||||
Reference in New Issue
Block a user