朱天龙 (Armink)
01e7b87a72
Merge branch 'master' of gitee.com:Armink/EasyLogger
3 years ago
朱天龙 (Armink)
abd20c8346
!5 解决编译demo时无法生成目标文件的问题
...
Merge pull request !5 from pencil_010/master
3 years ago
pencil_010
2ef67e729f
fix compiling error without out directory
3 years ago
朱天龙 (Armink)
772c28734f
Merge pull request #96 from Ghazigq/master
...
更改函数名称及行号得打印顺序(便于vscode直接跳转)
4 years ago
guoqi
c8ee635861
更改函数名称及行号得打印顺序(便于vscode直接跳转)
4 years ago
armink
470f4218ff
!4 elog_set_filter_tag_lvl_default函数引起的编译器警告
...
Merge pull request !4 from BLE/dev
5 years ago
Liuxi
b81819a6b4
elog_set_filter_tag_lvl_default函数的参数由空修改为void,防止编译器报警告
5 years ago
朱天龙 (Armink)
9bacff022c
Merge pull request #90 from 5ooo/master
...
optimize async log
5 years ago
5ooo
55c326acb8
[demo][linux] optimize async log
5 years ago
朱天龙 (Armink)
e1d38c3b74
Merge pull request #89 from 5ooo/master
...
优化linux下elog_port_get_time函数
5 years ago
5ooo
0faf2f865e
[demo][linux] optimize elog_port_get_time
5 years ago
朱天龙 (Armink)
c5bb36dc1a
Merge pull request #88 from 5ooo/master
...
add deinit for linux
5 years ago
5ooo
bb20ae32f6
[easylogger] [demo][linux] add deinit for linux
5 years ago
book诗意
e442625088
提高buf为空时的elog_flush() 性能 ( #81 )
...
* 先判断buf中是否有数据,再进行上锁-输出-解锁的操作,避免buf为空时的频繁上/解锁操作
5 years ago
armink
fd21dfe753
[demo][linux] Update for file plugin changes.
6 years ago
armink
100fd43233
[plugin][file] remove the access function using.
6 years ago
armink
22c9b45218
[demo] remove the windows demo unused file.
6 years ago
armink
9c49005dce
[demo] update the windows demo config.
6 years ago
armink
1dc48d4016
[demo] update the windows demo README.md
6 years ago
armink
4c3a65f515
[demo] Update the windows demo porting code. Change the locker to win API.
6 years ago
armink
7447514f3e
[doc] update the README.md
6 years ago
armink
b67a5257c2
[demo] Update the windows demo and support the new file plugin.
6 years ago
armink
29bc4e5ee5
[plugin/file] remove the posix API in file plugin.
6 years ago
armink
a607e1715b
【修改】软件版本号。
...
Signed-off-by: armink <armink.ztl@gmail.com>
6 years ago
armink
980eac7383
【完善】文档细节。
...
Signed-off-by: armink <armink.ztl@gmail.com>
6 years ago
armink
8987ab2e6b
【更新】readme 文档。
...
Signed-off-by: armink <armink.ztl@gmail.com>
6 years ago
朱天龙 (Armink)
7708f7693f
Merge pull request #60 from MRkuan/master
...
feature: add filter tag lvl fuction
6 years ago
KUAN
26ad8f19b8
feature: add filter tag lvl fuction
...
1. add the filter tag lvl fuction
2. update the doc about filter tag lvl fuction
6 years ago
朱天龙 (Armink)
b596fbe205
Merge pull request #55 from tianlongqin/master
...
change retate function
6 years ago
tianlongqin
a9c071359f
change retate function, Solve multi-process problems
...
Signed-off-by: tianlongqin <qtl_linux@153.com>
6 years ago
秦天龙
1ad6aedfe3
Merge pull request #1 from armink/master
...
updata
6 years ago
朱天龙 (Armink)
f61a9ad6d2
Merge pull request #51 from kingjason2009/issues#50
...
解决elog_hexdump中数据偏移地址的问题, fixed #50
6 years ago
jq
1362ff7f4e
解决elog_hexdump中数据偏移地址错误的问题
6 years ago
armink
fbdc6c23b0
【更新】软件版本号。
...
Signed-off-by: armink <armink.ztl@gmail.com>
6 years ago
朱天龙 (Armink)
4ba5a626fc
Merge pull request #49 from z0306c/async_output_bugfix
...
修复异步模式下概率性导致输出日志不完整的问题
6 years ago
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会保证只有在
有需要输出的内容时,才会触发后续的内容输出过程
6 years ago
armink
6734e930fd
【修正】ELOG_OUTPUT_ENABLE 未定义时存在的编译错误。感谢网友 @mojinpan 的反馈。
...
Signed-off-by: armink <armink.ztl@gmail.com>
7 years ago
朱天龙 (Armink)
fa7f940e0d
Merge pull request #45 from tianlongqin/master
...
Modify the first parameter of the lock_init function
7 years ago
qintl
58a3bde4e5
Modify the first parameter of the lock_init function
...
Signed-off-by: qintl <qtl_linux@163.com>
7 years ago
armink
79044bcc67
【完善】日志文件循环写入功能。
...
Signed-off-by: armink <armink.ztl@gmail.com>
7 years ago
朱天龙 (Armink)
4c31d95c6c
Merge pull request #39 from Jin-W-FS/master
...
实现了syslog形式的log-rotate
7 years ago
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.
7 years ago
armink
afabf352f3
【优化】file 插件代码细节格式,并提取 elog_file_config API。
...
Signed-off-by: armink <armink.ztl@gmail.com>
7 years ago
朱天龙 (Armink)
41789b3a8f
Merge pull request #37 from tianlongqin/master
...
add plugin file
7 years ago
qintl
0847b18c59
Merge branch 'master' of https://github.com/tianlongqin/EasyLogger
7 years ago
qintl
cee83af21c
File plugin details processing
...
Signed-off-by: qintl <qintl@yytek.com>
7 years ago
tianlongqin
27c26903fe
Update README.md
7 years ago
qintl
b3c38630e9
Fix plugin file the structure and format
...
Signed-off-by: qintl <qintl@yytek.com>
7 years ago
qintl
a9a7b9123e
add linux-os plugin file support
...
Signed-off-by: qintl <qintl@yytek.com>
7 years ago
qintl
0d647b692a
add Makefile, delete make.sh
...
Signed-off-by: qintl <qintl@yytek.com>
7 years ago