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
Copy file name to clipboardExpand all lines: README.md
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,7 @@ One or more of the three sink can be selected in the startup parameters, and can
52
52
The log content includes: level, time (accurate to microseconds), thread number, module name, function name, text, file name, line number.
53
53
It is convenient and quick to locate the problem.
54
54

55
+
As shown in the figure above, different log levels are clearly distinguished by colors. In particular, for anomalies, red and yellow are used together with highlighting, making them very eye-catching.
55
56
56
57
**3) Flexible log output filter**
57
58
The log level can be set separately for different modules when the program is running, as follows:
@@ -71,15 +72,17 @@ The main thread entrusts the child thread to execute:
71
72
72
73
## 7. Graceful exit process
73
74
When receiving signals: SIGINT, SIGTERM, SIGQUIT, SIGPWR, it will execute the exit process in an orderly manner and release resources. Do a clean exit.
This is crucial for ensuring program integrity and conducting memory analysis.
75
77
76
78
## 8. Comprehensive exception capture mechanism
77
79
When various program exceptions occur in the program, such as: segment fault, assertion, bus error, exception not caught, etc., the framework will capture and print the complete call stack in the log system. Facing program crashes, no longer look blank. The effect is as follows:
With this mechanism in place, analyzing program crash issues of online devices becomes very simple, and there is basically no need to use gdb to analyze coredumps.
79
82
80
83
## 9. Visualized trace module
81
-
The trace module can record the time and duration of each execution of the marked function, and can export the flame graph for display:
82
-

84
+
The trace module can record the time and duration of each execution of the marked function, and can export the icicle diagram for display:
0 commit comments