Commit Graph

40 Commits

Author SHA1 Message Date
fc88a589a8
add parse and lndl_nuitka to run ( not sure ) 2023-11-25 02:43:06 +08:00
100e985e3b
test: enhance test for formatter and add test for LogMessage 2023-11-18 23:36:29 +08:00
7fc18c6dc9
feat: add logger to docs 2023-11-18 23:11:54 +08:00
5628010e84
enhance: combine formatters 2023-11-18 23:02:23 +08:00
fe1edb7a50
merging TraceFormatter with TimeFormatter 2023-11-12 22:14:44 +08:00
2a9309a177
color code and default format 2023-11-07 01:03:07 +08:00
87b2e3b00c
add use stderr option for stdio output stream 2023-11-06 21:59:55 +08:00
880669b050
remove flush lock
with swap, why bother a lock?
2023-11-06 21:54:19 +08:00
d4141427e1
Add dectect in color support in color formatter 2023-11-06 21:30:46 +08:00
7924397195
Add global level 2023-11-06 00:34:06 +08:00
669377dcac
Impl logger 2023-11-06 00:31:03 +08:00
ae3de0b4b7
Add and use LogLevel 2023-11-06 00:19:39 +08:00
3775ef6d7a
reset level map 2023-11-05 23:59:59 +08:00
60b9d03182
reset level data 2023-11-05 23:56:56 +08:00
4b268f0706
Fix Typing in TraceFormatter 2023-11-05 23:51:34 +08:00
0efdbf36b1
rua! 2023-11-05 21:04:35 +08:00
2ed3bdce68
Logger implment 2023-11-05 19:54:34 +08:00
d1d4860ddc
Implment timer 2023-11-05 19:10:08 +08:00
e9b8fd28b1
enhance swap check 2023-11-05 19:01:45 +08:00
1a345ff726
这玩意写的真够麻烦 2023-11-05 18:58:25 +08:00
0c2857d741
Add check_option for Options 2023-11-05 15:08:12 +08:00
90726e5812
Rename structers -> structures And add __init__ for LogMessage and StdFormatter 2023-11-05 13:32:31 +08:00
33b8c4c7d6
拆分 outstream 2023-11-03 00:17:10 +08:00
b5fbc36821
Fix | MessageColorFormatter will remove \n before formating 2023-11-02 23:48:36 +08:00
24502447a4
add example for formatter ( since logger is not done, then add formatter first 2023-11-02 22:41:12 +08:00
61d041de7e
some color translation 2023-11-02 22:23:53 +08:00
918251c61e
use self.color 2023-11-02 21:12:13 +08:00
b61f3a450d
Looks better 2023-11-02 00:09:45 +08:00
d42491a95c
split color formatter and formatter to different files 2023-11-01 23:48:33 +08:00
dcbb7afb8a
Enhance | Implment Level Color Formatter and add Trace Formatter 2023-11-01 22:23:44 +08:00
eb6e250ba2
Add Level color formatter ( name undecide ) 2023-11-01 20:01:03 +08:00
e78a9a9fc0
Formatter add self info 2023-11-01 19:13:25 +08:00
bf1ae6a5ab
Fixed 2023-10-25 06:21:19 +08:00
767bfbd81d
Need more test 2023-10-25 06:20:26 +08:00
c5842a7fbe
Add | Test and more 2023-10-25 00:36:57 +08:00
5ddb5dd9a0
Enhance | Level format first step 2023-10-25 00:32:13 +08:00
a5c011a1aa
Add Value error 2023-10-24 22:10:43 +08:00
38b7e4f176
Add more 2023-10-24 00:02:11 +08:00
20e81a00e8
Enhance | basic format 2023-10-23 23:47:35 +08:00
7237d34b71
同步 DR 内部的 logger 进度 2023-10-23 23:40:36 +08:00