You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**This is an open source logging framework written in Java language. It has more advantages than other open source logging frameworks (such as log4j and slf4j)**
9
+
**This is an open source logging framework written in Java language. It has more advantages than other open source
10
+
logging frameworks (such as log4j and slf4j)**
10
11
11
-
The wiki of optilog will be updated at any time. Problems or bugs will be raised on [issues](https://github.com/OptiJava/Optilog-Client/issues) or [discussions](https://github.com/OptiJava/Optilog-Client/discussions).
12
+
The wiki of optilog will be updated at any time. Problems or bugs will be raised
13
+
on [issues](https://github.com/OptiJava/Optilog-Client/issues)
14
+
or [discussions](https://github.com/OptiJava/Optilog-Client/discussions).
12
15
13
16
**Be sure to read the [wiki](https://github.com/OptiJava/Optilog-Client/wiki) of this project before using it**
14
17
15
-
_If you like, you are welcome to contribute to optilog through fork. The code of this project is quite basic, and anyone can contribute_
18
+
_If you like, you are welcome to contribute to optilog through fork. The code of this project is quite basic, and anyone
19
+
can contribute_
16
20
17
21
## Optilog advantages
18
22
19
-
1. high performance: After initialization, another log (output to the screen + output to a file + output to the server through socket) can be output as fast as 8 milliseconds (it will be optimized later). Log4j should be at least 41 milliseconds.
23
+
1. high performance: After initialization, another log (output to the screen + output to a file + output to the server
24
+
through socket) can be output as fast as 8 milliseconds (it will be optimized later). Log4j should be at least 41
25
+
milliseconds.
20
26
21
-
2. Placeholder convenience: optilog supports unlimited placeholders and can be reused (#1#1 outputs the first placeholder twice). Log4j only supports 9 placeholders.
27
+
2. Placeholder convenience: optilog supports unlimited placeholders and can be reused (#1#1 outputs the first
28
+
placeholder twice). Log4j only supports 9 placeholders.
22
29
23
-
3. Configuration file can be placed in any location. The name of the configuration file is unlimited. Two types of configuration files are supported. In log4j, the configuration file can only be in classpath and the name can only be log4j2 xml.
30
+
3. Configuration file can be placed in any location. The name of the configuration file is unlimited. Two types of
31
+
configuration files are supported. In log4j, the configuration file can only be in classpath and the name can only be
32
+
log4j2 xml.
24
33
25
34
4. Support the client to send logs to [Server](https://github.com/OptiJava/Optilog-Server).
26
35
27
36
5. All possible exceptions in Optilog are basically captured without affecting the main logic.
28
37
29
-
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 adding dozens of jar packages at once when using gradle).
38
+
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
39
+
adding dozens of jar packages at once when using gradle).
30
40
31
41
7. Suitable for beginners without complex configuration files.
32
42
33
43
8. Few [dependence](https://github.com/OptiJava/Optilog-Client/blob/master/README-en.md#dependency).
34
44
35
-
9. Class, method and other information output in the log are absolutely accurate, because Optilog uses StackTraceElement internally to determine these information, and there is no need to write the class instance when initializing the log.
45
+
9. Class, method and other information output in the log are absolutely accurate, because Optilog uses StackTraceElement
46
+
internally to determine these information, and there is no need to write the class instance when initializing the
47
+
log.
36
48
37
-
10. Optilog can directly generate a default configuration file. Beginners do not need to look for the configuration file example ([Tutorial](https://github.com/OptiJava/Optilog-Client/wiki/%E6%9B%B4%E5%A4%9A%E5%8A%9F%E8%83%BD#%E5%85%AD%E7%94%9F%E6%88%90%E9%BB%98%E8%AE%A4%E7%9A%84%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6))
49
+
10. Optilog can directly generate a default configuration file. Beginners do not need to look for the configuration file
50
+
example ([Tutorial](https://github.com/OptiJava/Optilog-Client/wiki/%E6%9B%B4%E5%A4%9A%E5%8A%9F%E8%83%BD#%E5%85%AD%E7%94%9F%E6%88%90%E9%BB%98%E8%AE%A4%E7%9A%84%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6))
38
51
39
-
11. Support configuration files in multiple formats, including JSON, yaml, XML and properties. Support for .toml configuration files will be added later.
52
+
11. Support configuration files in multiple formats, including JSON, yaml, XML and properties. Support for .toml
53
+
configuration files will be added later.
40
54
41
-
12. Optilog supports configuration modification during runtime. Of course, only some configuration items of true and false can be modified. Output file paths cannot be modified.
55
+
12. Optilog supports configuration modification during runtime. Of course, only some configuration items of true and
56
+
false can be modified. Output file paths cannot be modified.
42
57
43
58
13. Support outputting logs to JDBC.
44
59
@@ -53,8 +68,6 @@ _Generate by [carbon.now.sh](https://carbon.now.sh)_
0 commit comments