#feat 增强Fatal级别的底色,修改logging类的方法

This commit is contained in:
2024-09-21 11:45:41 +08:00
parent b852bdceb8
commit 85ae9d3deb
14 changed files with 83 additions and 72 deletions

View File

@@ -1,6 +1,6 @@
/********************************************
* @Date: 2024 08 12
* @Description: 日志拦截器
* @Description: 子串拦截器
*********************************************/
#include "logging/logging-interceptor.h"
@@ -98,10 +98,10 @@ static void _freeSubstring(log_Interceptor *interceptor) {
/**
* @description : 子字符串拦截器
*/
log_Interceptor *substringInterceptor(char *keywords[],
int count,
log_level level,
log_Handler *handler) {
log_Interceptor *loggingSubStringInterceptor(char *keywords[],
int count,
log_level level,
log_Handler *handler) {
log_Interceptor *interceptor =
(log_Interceptor *)malloc(sizeof(log_Interceptor));
interceptor->_dispose = _disposeSubstring;