fix msvc 不支持中文注释,删除中文注释

This commit is contained in:
2024-11-02 20:20:30 +08:00
parent 34f818196e
commit 668f88f8af
10 changed files with 26 additions and 111 deletions

View File

@@ -8,7 +8,7 @@
#include "logging/logging-handler.h"
#include "logging/logging-interceptor.h"
// 日志操作器
typedef struct Logger {
log_level level;
log_Handler *handler;
@@ -24,7 +24,7 @@ typedef struct Logger {
void (*addInterceptor)(log_Interceptor *Interceptor);
} Logger;
// 日志类对象
typedef struct Logging {
Logger *(*getLogger)(const char *name, log_level level);
log_status (*setLevel)(Logger *logger, log_level level);
@@ -32,6 +32,6 @@ typedef struct Logging {
log_status (*destroyLogging)(struct Logging *logging);
} Logging;
Logging *newLogging(); // 创建日志类对象
Logging *newLogging();
#endif // __LOGGING_H__