From 214665ec91d04d5b4ca7d83fe77abc9deaf512e4 Mon Sep 17 00:00:00 2001 From: youmetme <321640253@qq.com> Date: Sat, 23 Nov 2024 08:54:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=87=AA=E8=BF=B0=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.en.md | 8 ++++---- README.md | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.en.md b/README.en.md index 68f6342..d48c5c7 100644 --- a/README.en.md +++ b/README.en.md @@ -62,12 +62,12 @@ int main() { ``` ### Logging filter -> Support adding custom interceptors, currently with built-in substring interceptors -> The function of an filter is to redirect intercepted logs to the filter's dedicated processor +> Support adding custom filters, currently with built-in substring filters +> The function of an filter is to redirect filtered logs to the filter's dedicated processor #### example -Redirects intercepted logs to a dedicated file processor +Redirects filtered logs to a dedicated file processor ```c #include "logging.h" #include @@ -106,7 +106,7 @@ int main() { } ``` -#### Multiple substring interceptors +#### Multiple substring filters ```c #include "logging.h" #include diff --git a/README.md b/README.md index 7337317..1031651 100644 --- a/README.md +++ b/README.md @@ -64,14 +64,14 @@ int main() { } ``` -### 日志拦截器 -> 支持添加自定义的拦截器, 目前内置了子串拦截器 +### 日志过滤器 +> 支持添加自定义的过滤器, 目前内置了子串过滤器 -> 拦截器的作用:可以将拦截到的日志重定向到拦截器的专属处理器中 +> 过滤器的作用:可以将过滤到的日志重定向到过滤器的专属处理器中 -#### 单个子串拦截器 -将拦截到的日志重定向到专属文件处理器中 +#### 单个子串过滤器 +将过滤到的日志重定向到专属处理器中 ```c #include "logging.h" #include @@ -110,7 +110,7 @@ int main() { } ``` -#### 多个子串拦截器 +#### 多个子串过滤器 ```c #include "logging.h" #include