add fun in log4

This commit is contained in:
lnk
2026-01-07 11:02:03 +08:00
parent be068fab40
commit 02127869c0
4 changed files with 139 additions and 16 deletions

View File

@@ -32,8 +32,6 @@ extern LOG_TLS_SPEC int g_log_code_tls;
#include "appender.h"
#define LOGTYPE_COM 1
#define LOGTYPE_DATA 2
/////////////////////////////////////////////入参验证
#if defined(__GNUC__) || defined(__clang__)
# define PRINTF_LIKE(fmt_index, first_arg) __attribute__((format(printf, fmt_index, first_arg)))