基本Json格式化。

This commit is contained in:
2026-03-29 19:25:59 +08:00
parent 4c8cf346ea
commit 1bc2c2bcbf
10 changed files with 376 additions and 0 deletions

19
util/axc.util.h Normal file
View File

@@ -0,0 +1,19 @@
#ifndef AXC_UTIL_H
#define AXC_UTIL_H
#include <spdlog/spdlog.h>
#include <string>
struct FormatterArg {
int indent{4};
std::string file;
};
class AxcUtil
{
public:
static bool initLogger(const std::string& logFile);
static std::shared_ptr<spdlog::logger> getLogger();
};
#endif