guoqi
c8ee635861
更改函数名称及行号得打印顺序(便于vscode直接跳转)
2021-07-28 17:18:58 +08:00
朱天龙 (Armink)
9bacff022c
Merge pull request #90 from 5ooo/master
...
optimize async log
2021-04-08 09:30:15 +08:00
5ooo
55c326acb8
[demo][linux] optimize async log
2021-04-07 18:16:13 +08:00
朱天龙 (Armink)
e1d38c3b74
Merge pull request #89 from 5ooo/master
...
优化linux下elog_port_get_time函数
2021-04-02 22:56:51 +08:00
5ooo
0faf2f865e
[demo][linux] optimize elog_port_get_time
2021-04-02 19:04:10 +08:00
朱天龙 (Armink)
c5bb36dc1a
Merge pull request #88 from 5ooo/master
...
add deinit for linux
2021-04-01 18:30:03 +08:00
5ooo
bb20ae32f6
[easylogger] [demo][linux] add deinit for linux
2021-04-01 17:47:24 +08:00
book诗意
e442625088
提高buf为空时的elog_flush() 性能 ( #81 )
...
* 先判断buf中是否有数据,再进行上锁-输出-解锁的操作,避免buf为空时的频繁上/解锁操作
2021-03-11 11:12:03 +08:00
armink
fd21dfe753
[demo][linux] Update for file plugin changes.
2020-06-27 11:17:54 +08:00
armink
100fd43233
[plugin][file] remove the access function using.
2020-06-27 11:16:54 +08:00
armink
22c9b45218
[demo] remove the windows demo unused file.
2020-06-13 23:32:12 +08:00
armink
9c49005dce
[demo] update the windows demo config.
2020-06-13 23:30:25 +08:00
armink
1dc48d4016
[demo] update the windows demo README.md
2020-06-13 23:06:59 +08:00
armink
4c3a65f515
[demo] Update the windows demo porting code. Change the locker to win API.
2020-06-13 23:06:35 +08:00
armink
7447514f3e
[doc] update the README.md
2020-06-13 23:03:10 +08:00
armink
b67a5257c2
[demo] Update the windows demo and support the new file plugin.
2020-06-12 23:53:38 +08:00
armink
29bc4e5ee5
[plugin/file] remove the posix API in file plugin.
2020-06-12 23:40:26 +08:00
armink
a607e1715b
【修改】软件版本号。
...
Signed-off-by: armink <armink.ztl@gmail.com>
2019-11-30 21:27:51 +08:00
armink
980eac7383
【完善】文档细节。
...
Signed-off-by: armink <armink.ztl@gmail.com>
2.2.0
2019-11-30 21:18:28 +08:00
armink
8987ab2e6b
【更新】readme 文档。
...
Signed-off-by: armink <armink.ztl@gmail.com>
2019-11-30 20:41:50 +08:00
朱天龙 (Armink)
7708f7693f
Merge pull request #60 from MRkuan/master
...
feature: add filter tag lvl fuction
2019-11-30 20:36:54 +08:00
KUAN
26ad8f19b8
feature: add filter tag lvl fuction
...
1. add the filter tag lvl fuction
2. update the doc about filter tag lvl fuction
2019-11-30 20:18:00 +08:00
朱天龙 (Armink)
b596fbe205
Merge pull request #55 from tianlongqin/master
...
change retate function
2019-09-06 19:35:00 +08:00
tianlongqin
a9c071359f
change retate function, Solve multi-process problems
...
Signed-off-by: tianlongqin <qtl_linux@153.com>
2019-09-06 11:39:34 +08:00
秦天龙
1ad6aedfe3
Merge pull request #1 from armink/master
...
updata
2019-09-06 11:08:22 +08:00
朱天龙 (Armink)
f61a9ad6d2
Merge pull request #51 from kingjason2009/issues#50
...
解决elog_hexdump中数据偏移地址的问题, fixed #50
2019-08-03 16:47:36 +08:00
jq
1362ff7f4e
解决elog_hexdump中数据偏移地址错误的问题
2019-08-03 16:22:32 +08:00
armink
fbdc6c23b0
【更新】软件版本号。
...
Signed-off-by: armink <armink.ztl@gmail.com>
2019-07-29 09:00:56 +08:00
朱天龙 (Armink)
4ba5a626fc
Merge pull request #49 from z0306c/async_output_bugfix
...
修复异步模式下概率性导致输出日志不完整的问题
2.1.0
2019-07-26 13:39:09 +08:00
Zhao Chong
bd2281e935
修复异步模式下概率性导致输出日志不完整的问题
...
Summary:
[背景]:异步输出模式开启、断言开启,elog_async.c在初始化时,elog_async_init创建子线程完成后,
子线程处理函数async_output在一开始会对全局变量init_ok进行断言,如果为false,那么就无法进入
后续sem_wait流程,进行结果输出了;而init_ok是在子线程创建完之后,elog_async_init最后才设置
为true的,这样程序的正确执行就取决于父子线程的调度顺序了
[解决办法]:子线程的处理程序中无需对init_ok进行判断,因为在while循环体中sem_wait会保证只有在
有需要输出的内容时,才会触发后续的内容输出过程
2019-07-26 12:28:39 +08:00
armink
6734e930fd
【修正】ELOG_OUTPUT_ENABLE 未定义时存在的编译错误。感谢网友 @mojinpan 的反馈。
...
Signed-off-by: armink <armink.ztl@gmail.com>
2019-03-30 09:26:56 +08:00
朱天龙 (Armink)
fa7f940e0d
Merge pull request #45 from tianlongqin/master
...
Modify the first parameter of the lock_init function
2019-03-27 16:41:52 +08:00
qintl
58a3bde4e5
Modify the first parameter of the lock_init function
...
Signed-off-by: qintl <qtl_linux@163.com>
2019-03-27 00:55:06 -07:00
armink
79044bcc67
【完善】日志文件循环写入功能。
...
Signed-off-by: armink <armink.ztl@gmail.com>
2019-02-15 17:18:07 +08:00
朱天龙 (Armink)
4c31d95c6c
Merge pull request #39 from Jin-W-FS/master
...
实现了syslog形式的log-rotate
2019-02-15 15:19:27 +08:00
Jin-W-FS
1507a7b611
Support log-rotate.
...
rotate each xxx.log.n-1 to xxx.log.n(n < local_cfg.max_rotate), and xxx.log to
xxx.log.0 when xxx.log achieves local_cfg.max_size and local_cfg.max_rotate > 0.
2019-02-14 20:57:01 +08:00
armink
afabf352f3
【优化】file 插件代码细节格式,并提取 elog_file_config API。
...
Signed-off-by: armink <armink.ztl@gmail.com>
2019-01-10 22:46:14 +08:00
朱天龙 (Armink)
41789b3a8f
Merge pull request #37 from tianlongqin/master
...
add plugin file
2019-01-10 16:55:22 +08:00
qintl
0847b18c59
Merge branch 'master' of https://github.com/tianlongqin/EasyLogger
2019-01-10 16:44:36 +08:00
qintl
cee83af21c
File plugin details processing
...
Signed-off-by: qintl <qintl@yytek.com>
2019-01-10 16:42:46 +08:00
tianlongqin
27c26903fe
Update README.md
2019-01-10 15:36:56 +08:00
qintl
b3c38630e9
Fix plugin file the structure and format
...
Signed-off-by: qintl <qintl@yytek.com>
2019-01-10 15:27:03 +08:00
qintl
a9a7b9123e
add linux-os plugin file support
...
Signed-off-by: qintl <qintl@yytek.com>
2019-01-10 15:27:03 +08:00
qintl
0d647b692a
add Makefile, delete make.sh
...
Signed-off-by: qintl <qintl@yytek.com>
2019-01-10 15:27:03 +08:00
qintl
75cd8806b8
add plugin file
...
Signed-off-by: qintl <qintl@yytek.com>
2019-01-10 15:27:03 +08:00
armink
42a50e194c
【优化】代码细节格式。
...
Signed-off-by: armink <armink.ztl@gmail.com>
2019-01-04 22:46:26 +08:00
armink
1986ffca2f
【修复】elog_strcpy 可能存在内存写穿的问题(PS:之前应用层已规避)。
...
Signed-off-by: armink <armink.ztl@gmail.com>
2019-01-04 22:45:58 +08:00
朱天龙 (Armink)
2126c51332
Merge pull request #35 from tianlongqin/qintl
...
elog_hexdump add lvl and tag filter
2019-01-04 10:04:36 +08:00
qintl
b0248cff84
elog_hexdump add lvl and tag filter
...
Signed-off-by: qintl <qintl@yytek.com>
2019-01-03 15:33:24 +08:00
朱天龙 (Armink)
3c63ab4ee3
Merge pull request #32 from IdiotStoneMa/master
...
pr: hex_dump
2018-12-25 16:06:17 +08:00