From f3ab5619000b9aff055ce728354fe426104798c4 Mon Sep 17 00:00:00 2001 From: Ayvytr Date: Wed, 29 Mar 2017 23:43:24 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=9B=B4=E6=96=B0logger=E7=9A=84readme?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README_Logger.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README_Logger.md b/README_Logger.md index beccbdd..af1b1b2 100644 --- a/README_Logger.md +++ b/README_Logger.md @@ -93,7 +93,7 @@ L.t(1).d("hello"); ![](photos/logger/log5.png) -#### 更改方法栈偏移(方法调用信息将会前移数量,和前边一张图片比较一下) +#### 更改方法栈偏移(方法调用信息将会前移这个数量,和前边一张图片比较一下,聪明的你是不是又发现了什么?) To integrate logger with other libraries, you can set the offset in order to avoid that library's methods. ```java L.getSettings().methodOffset(10); @@ -142,6 +142,7 @@ L } ``` + ## 你的无(bian)理(tai)要求我都能满足 #### 默认的样子 @@ -197,6 +198,7 @@ L.getSettings().justShowMessage(true); L.d(); L.w(); ``` + ![](photos/logger/log11.png) #### 我要屏蔽日志(试试看能不能打印出来?) @@ -210,13 +212,13 @@ class CustomLogAdapter Implement LogAdapter {} settings.logAdapter(new CustomLogAdapter()) ``` -### Notes +> # Notes - 使用日志筛选,格式更整齐 -![](photos/logger/filter.png) +> ![](photos/logger/filter.png) -- 确认关掉日志换行选项 +> - 确认关掉日志换行选项 -![](photos/logger/wrap-closed.png) +> ![](photos/logger/wrap-closed.png) -- Release使用LogLevel.NONE不输出任何日志 \ No newline at end of file +> - Release使用LogLevel.NONE不输出任何日志 \ No newline at end of file