Skip to content

Commit 4b5b645

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 652aade + 0ae1d29 commit 4b5b645

File tree

2 files changed

+8
-22
lines changed

2 files changed

+8
-22
lines changed

README-en.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,29 +51,23 @@ adding dozens of jar packages at once when using gradle)
5151
9.Class, method and other information output in the log is absolutely accurate, because optilog uses stacktrace to
5252
determine this information internally, and there is no need to write the class instance when initializing the log
5353

54-
10.optilog can directly generate a default configuration file. Beginners do not need to look for configuration file
54+
10.Optilog can directly generate a default configuration file. Beginners do not need to look for configuration file
5555
examples
5656

57-
11.Support configuration files in multiple formats, including JSON, XML and properties. Support for yaml and toml
58-
configuration files will be added later
57+
11.Support configuration files in multiple formats, including JSON, XML and properties. Support for toml
58+
configuration files will be added later(Yaml was supported at latest commit)
5959

6060
# Defects of optilog
6161

6262
1. No JDBC support
6363

64-
2. XML configuration files are not supported <- in the latest submission, optilog already supports XML format
65-
configuration files
66-
67-
3. The configuration of file output path is relatively troublesome <- this defect has been solved, and the defects of
68-
optilog will be solved one after another
69-
7064
# Optilog log picture:
7165

7266
![image](https://user-images.githubusercontent.com/106148777/170864247-7da18dd5-f5b9-4e5c-aee7-4174d29a8969.png)
7367

7468
# Dependency:
7569

76-
`Gson-2.9.0` `jackson-dataformat-xml-2.13.3` `tomcat-embed-core-9.0.26` `tomcat-embed-jasper:9.0.26`
70+
`Gson-2.9.0` `jackson-dataformat-xml-2.13.3` `tomcat-embed-core-9.0.26` `tomcat-embed-jasper:9.0.26`(You needn't add dependency if you don't use these function.)
7771

7872
# Author:
7973

@@ -85,6 +79,4 @@ JavauserO
8579

8680
# Future plans
8781

88-
add support for XML format configuration files (implemented)
89-
9082
realize remote call

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,27 +42,23 @@ _如果你愿意,欢迎Fork这个仓库为Optilog做出贡献,本项目的
4242

4343
10.Optilog可以直接生成一个默认的配置文件,初学者不用找配置文件范例
4444

45-
11.支持多种格式的配置文件,包括json,xml和properties,后续还会增加对yaml和toml配置文件的支持
45+
11.支持多种格式的配置文件,包括json,xml和properties,后续还会增加对toml配置文件的支持(在最新的提交中,OptilogClient已经支持yaml格式配置文件,使用还是看wiki)
4646

4747
12.Optilog支持在运行期修改配置,当然只能修改true和false的一些配置项,输出文件路径什么的不能修改
4848

4949
# Optilog的缺陷
5050

5151
1.没有对jdbc的支持
5252

53-
2.不支持xml配置文件 <-在最新的提交中,Optilog已经支持xml格式配置文件
54-
55-
3.文件输出路径的配置相对麻烦 <-这个缺陷已经解决了,Optilog的缺陷将会陆续解决
56-
5753
# Optilog输出日志预览:
5854

5955
~~"输出十分整齐"~~
6056
![image](https://user-images.githubusercontent.com/106148777/170864247-7da18dd5-f5b9-4e5c-aee7-4174d29a8969.png)
6157

6258
# Dependency:
6359

64-
`Gson-2.9.0` `jackson-dataformat-xml-2.13.3` `tomcat-embed-core-9.0.26` `tomcat-embed-jasper:9.0.26`(
65-
Tomcat依赖如果你不用的话可以没有,如果你只用properties作为配置文件的话Gson和Jackson也可以不加)
60+
`Gson-2.9.0` `jackson-dataformat-xml-2.13.3` `tomcat-embed-core-9.0.26` `tomcat-embed-jasper-9.0.26` `snakeyaml-1.3.0`(
61+
Tomcat依赖如果你不用的话可以没有,如果你只用properties作为配置文件的话Gson,Jackson,snakeyaml也可以不加)
6662

6763
# Author:
6864

@@ -74,6 +70,4 @@ Tomcat依赖如果你不用的话可以没有,如果你只用properties作为
7470

7571
# 未来计划
7672

77-
1.添加对xml格式配置文件的支持(已实现)
78-
\
79-
2.实现远程调用
73+
1.实现远程调用

0 commit comments

Comments
 (0)