@@ -15,8 +15,8 @@ project [wiki](https://github.com/OptiJava/Optilog-Client/wiki) before use Optil
15
15
16
16
[ OptilogServer] ( https://github.com/OptiJava/Optilog-Server ) matched with OptilogClient. See wiki for details.
17
17
18
- If you like, you are welcome to contribute to Optilog through fork. The code of this project is quite basic. Anyone can
19
- contribute.
18
+ _ If you like, you are welcome to contribute to Optilog through fork. The code of this project is quite basic. Anyone can
19
+ contribute._
20
20
21
21
## Optilog advantages
22
22
@@ -29,32 +29,32 @@ supports 9 placeholders.
29
29
30
30
3.The configuration file can be placed in any location. The name of the configuration file is unlimited. Two types of
31
31
configuration files are supported. In log4j, the configuration file can only be in classpath and the name can only be
32
- log4j2 XML
32
+ log4j2 XML.
33
33
34
- 4.Support the client to send logs to the server(See details in [ wiki] ( https://github.com/OptiJava/Optilog-Client/wiki ) '
35
- s 'use OptilogServer' Page, Download OptilogServer in [ OptilogServer] ( https://github.com/OptiJava/Optilog-Server ) )
34
+ 4.Support the client to send logs to the server(See details in [ wiki] ( https://github.com/OptiJava/Optilog-Client/wiki )
35
+ Download OptilogServer in [ OptilogServer] ( https://github.com/OptiJava/Optilog-Server ) ).
36
36
37
- 5.All possible exceptions in optilog are captured without affecting the main logic
37
+ 5.All possible exceptions in optilog are captured without affecting the main logic.
38
38
39
39
6.You only need one jar package, and you can use it directly by typing in the classpath (I don't know the feeling of
40
- adding dozens of jar packages at once when using gradle)
40
+ adding dozens of jar packages at once when using gradle).
41
41
42
- 7.Suitable for beginners without complex configuration files
42
+ 7.Suitable for beginners without complex configuration files.
43
43
44
- 8.There are few dependencies
44
+ 8.There are few dependencies.
45
45
46
46
9.Class, method and other information output in the log is absolutely accurate, because optilog uses stacktrace to
47
- determine this information internally, and there is no need to write the class instance when initializing the log
47
+ determine this information internally, and there is no need to write the class instance when initializing the log.
48
48
49
49
10.Optilog can directly generate a default configuration file. Beginners do not need to look for configuration file
50
- examples
50
+ examples.
51
51
52
52
11.Support configuration files in multiple formats, including JSON,YAML, XML and properties. Support for toml
53
- configuration files will be added later
53
+ configuration files will be added later.
54
54
55
- ## Defects of optilog
55
+ ## Defects of Optilog
56
56
57
- 1 . No JDBC support <- On 2022/6/7,Optilog can send log to DataBase,Optilog already support jdbc!!!
57
+ 1 . No JDBC support <- On 2022/6/7,Optilog can send log to DataBase,Optilog already support send log to jdbc
58
58
59
59
## Optilog log picture:
60
60
@@ -63,9 +63,15 @@ _Generate by [carbon.now.sh](https://carbon.now.sh)_
63
63
64
64
## Dependency:
65
65
66
- ` com.google.code.gson:gson:2.9.0 ` ` com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.13.3 ` ` org.yaml:snakeyaml:1.30 ` ` mysql:mysql-connector-java:8.0.29 ` (
67
- You needn't add dependency if you don't use these
68
- function.)
66
+ ` com.google.code.gson:gson:2.9.0 `
67
+ \
68
+ ` com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.13.3 `
69
+ \
70
+ ` org.yaml:snakeyaml:1.30 ` ` mysql:mysql-connector-java:8.0.29 `
71
+ \
72
+ ` mysql:mysql-connector-java:8.0.29 `
73
+ \
74
+ (You needn't add dependency if you don't use these function.)
69
75
70
76
## Author:
71
77
0 commit comments