Skip to content

Commit 2c10c31

Browse files
committed
Merge branch 'master' of https://github.com/fishjam/LogViewer
2 parents 3f05b6c + afd65bf commit 2c10c31

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
- 1.Sample file [Standard-SpringBoot.ini](x64/Release/Dsh-SpringBoot.ini) , the log file is [spring log demo](demos/dsh-springdemo.log), can get logs from multi servers by [distributed shell](https://github.com/fishjam/dsh) .
1717
- 2.COMMON
1818
- REGULAR : defines the regular expression for a log. [Regex Match Tracer](http://www.regex-match-tracer.com/) is recommended for writing and validating RegEx.
19-
- TIME_FORMAT : define the date and time format, now only support 4 format(ref sample).
19+
- TIME_FORMAT : define the date and time format, now only support 4 format(ref sample).
20+
- OPEN_COMMAND: define the open source file and locate line position command in other IDE(just need support file and line), example: [Open *.go file in goland](x64/Release/GoLang.ini#L11)
2021
- 3.REGMAP : define the regular result and log part's correspondence.
2122
- 4.LEVELMAP: define the log level's correspondence.
2223

README_CN.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
- TIME_FORMAT : 定义了时间部分的格式, 目前只支持 yyyy-MM-dd HH:mm:ss.SSS 等四种格式, 配置好以后可以自动计算同一线程中前后两条日志的时间差(Elapse)
1616
- DISPLAY_TIME_FORMAT: 定义日期时间的显示格式,默认和 TIME_FORMAT 一致,但考虑到原始格式是日期+时间,但分析时只想显示时间,因此增加了该配置. 目前只支持 yyyy-MM-dd HH:mm:ss.SSS 或 HH:mm:ss.SSS
1717
- SOURCE_FILES_EXT: 在双击定位源码时, 如果文件路径是相对路径(如 C++ Release)时,会提示用户选择源码的根目录, 并在其下自动搜索指定扩展名的源码, 然后通过文件名匹配. 示例: *.cpp;*.c;*.h;*.hpp
18+
- OPEN_COMMAND: 在双击定位源码时,可以在自定义的 IDE 中打开并定位, 示例: [Open *.fo file in goland](x64/Release/GoLang.ini#L11)
1819
- 3.REGMAP : 定义了正则解析出的各个分组对应日志的哪个部分, 如 ITEM_LEVEL 对应日志等级部分.
1920
- 4.LEVELMAP: 定义了日志等级的对应方式, 如 LEVEL_TRACE=INFO 表示日志中的 "INFO" 对应 LogViewer 中的 "Trace" 等级的日志, 可通过其进行过滤.
2021

0 commit comments

Comments
 (0)