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 |
rule box
rule manager+
create a new rule-
delete current rule<<
save current ruleH
apply current rule
功能 | 快捷键 |
---|---|
显示或隐藏高亮器 | ctrl+h |
高亮触发 | ctrl+enter |
- 设置可见性
- 设置前景色
- 设置背景色
这个功能很常见,不过多介绍了
功能 | 快捷键 |
---|---|
显示或隐藏搜索器 | ctrl+f |