VisualLog
A tool for making it easier to analyze log.
Install / Use
/learn @logic-wei/VisualLogREADME
VisualLog
log分析工具
功能
高亮器
通过json编辑log的显示规则,高亮感兴趣的log或者去除不感兴趣的log.
语法
example:
{
"log规则1": {
"pattern": "正则表达式",
"visible": bool,
"foreground": [r, g, b],
"background": [r, g, b]
},
"log规则2": {
"pattern": "正则表达式",
"visible": bool,
"foreground": [r, g, b],
"background": [r, g, b]
},
"default": {
"visible": bool,
"foreground": [r, g, b],
"background": [r, g, b]
}
}
语法采用[rule]:[properties]的形式,其中rule分为普通规则和特殊规则,目前支持的特殊规则如下:
rule | description -|- default | Default rule.It will be applied to the logs that can't match all the command rules
UI
rule boxrule manager+create a new rule-delete current rule<<save current ruleHapply current rule
快捷键
功能 | 快捷键 -|- 显示或隐藏高亮器 | ctrl+h 高亮触发 | ctrl+enter
举例
- 设置可见性

- 设置前景色

- 设置背景色

搜索器
这个功能很常见,不过多介绍了

快捷键
功能 | 快捷键 -|- 显示或隐藏搜索器 | ctrl+f
