1
0
mirror of https://github.com/armink/EasyLogger.git synced 2025-01-19 07:42:52 +08:00

172 Commits

Author SHA1 Message Date
Riggin
ad264f0df6 解决 elog_raw() 的输出无法由 ELOG_OUTPUT_ENABLE总开关 关闭的问题 2023-06-28 17:39:12 +08:00
Riggin
e01ac30115 修改文档拼写错误 2023-06-28 17:26:13 +08:00
朱天龙 (Armink)
80e1d4d492
Merge pull request #132 from saviourxx/master
[demo/nuttx_spiflash] 新增nuttx平台的demo,Easyflash支持spi flash
2023-02-17 14:42:36 +08:00
zohar
f39726143e [demo/nuttx_spiflash] 新增nuttx平台的demo,Easyflash支持spi flash 2023-02-15 20:19:51 +08:00
朱天龙 (Armink)
4fecb2b478
Merge pull request #131 from slark-yuxj/master
修改为更为直观的写法
2022-12-16 13:12:05 +08:00
yuxiaojun
d2de581c8d 修改为更为直观的写法 2022-12-16 10:06:08 +08:00
朱天龙 (Armink)
20f13ca2c5
Merge pull request #130 from slark-yuxj/master
Add assert judgment
2022-12-15 14:55:51 +08:00
yuxiaojun
647478e84e Add assert judgment 2022-12-15 14:40:37 +08:00
朱天龙 (Armink)
6afd86d75e
Merge pull request #129 from slark-yuxj/master
增加对文件空指针的判断
2022-12-07 19:30:14 +08:00
yuxiaojun
28727e7ddd 使用字符串需初始化 2022-12-07 16:31:53 +08:00
yuxiaojun
4a6621892b 增加对文件空指针的判断 2022-12-07 16:09:33 +08:00
朱天龙 (Armink)
a1867805a8 Merge branch 'master' of github.com:armink/EasyLogger
# Conflicts:
#	demo/os/windows/make.bat
2022-10-16 17:51:49 +08:00
朱天龙 (Armink)
01e7b87a72 Merge branch 'master' of gitee.com:Armink/EasyLogger 2022-10-16 17:48:48 +08:00
朱天龙 (Armink)
abd20c8346
!5 解决编译demo时无法生成目标文件的问题
Merge pull request !5 from pencil_010/master
2022-10-16 04:25:07 +00:00
pencil_010
2ef67e729f fix compiling error without out directory 2022-10-16 12:02:52 +08:00
朱天龙 (Armink)
08c890c672
Merge pull request #125 from kaidegit/master
【新增】FreeRTOS 的 demo
2022-09-14 22:29:45 +08:00
朱天龙 (Armink)
f18ca0a70e
Merge pull request #126 from cddjr/master
fix issue #33
2022-09-14 17:47:27 +08:00
cddjr
1cd48f7072
fix issue #33 2022-09-14 17:36:15 +08:00
kaidegit
6d660e0d96 [demo]添加demo的说明 2022-09-11 00:44:58 +08:00
kaidegit
63a4028144 [demo]添加基于stm32cubemx的例程 2022-09-11 00:28:31 +08:00
朱天龙 (Armink)
8a88610b6e
Merge pull request #124 from h3n4l/fix/default-output-color
fix: enable text color default if define macro ELOG_COLOR_ENABLE
2022-08-30 09:24:19 +08:00
h3n4l
1600a2b2b3 fix: enable text color default if define macro ELOG_COLOR_ENABLE 2022-08-30 08:56:50 +08:00
朱天龙 (Armink)
cc7a3e6d22
Merge pull request #123 from 675658/iss122
fix: 修复在关闭OUTPUT_LOCK的情况下依然会调用elog_port_output_lock函数的bug [issue 122]
2022-07-12 17:28:32 +08:00
Chen Jihang
0869689c3d fix: 修复在关闭OUTPUT_LOCK的情况下依然会调用elog_port_output_lock函数的bug [issue 122]
在elog.c中的elog_get_filter_tag_lvl函数以及elog_set_filter_tag_lvl函数中错误地使用了elog_port_output_lock函数导致在关闭output lock的情况下仍然会锁定输出却无法解锁

解决:将elog_get_filter_tag_lvl和elog_set_filter_tag_lvl函数中的elog_port_output_lock函数改为elog_output_lock函数

issue #122
close #122
2022-07-11 12:18:55 +08:00
朱天龙 (Armink)
e19d10e43c
Merge pull request #121 from FragrantRye/master
Change the buf parameter type of elog_hexdump
2022-06-27 22:49:31 +08:00
FragrantRye
3d95192f58 Change the buf parameter type of elog_hexdump
Change the 'buf' parameter type from uint8_t* to const void*.

Signed-off-by: FragrantRye <903465575@qq.com>
2022-06-26 13:10:22 +08:00
朱天龙 (Armink)
e1fdb134db
Merge pull request #102 from dubw/master
[demo][linux] fix compile warning about old-style-declaration
2021-11-26 17:17:14 +08:00
dubaowei
0221c43648 [demo][linux] fix compile warning about old-style-declaration
In gcc 7.3.0, we encountered a warning error when compiling

	elog_file_port.c:76:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration]

Put 'inline' in front of 'void' can fix it

Signed-off-by: dubaowei <dubaowei@cetc.com>
2021-11-26 15:45:52 +08:00
朱天龙 (Armink)
10d2efdeb4
Merge pull request #100 from EchoHYK/master
【修复】windows demo自动编译报错
2021-11-09 20:10:51 +08:00
echohu
199ad5f371 【修复】windows demo自动编译报错
i#
2021-11-09 18:24:12 +08:00
朱天龙 (Armink)
772c28734f
Merge pull request #96 from Ghazigq/master
更改函数名称及行号得打印顺序(便于vscode直接跳转)
2021-07-28 20:07:35 +08:00
guoqi
c8ee635861 更改函数名称及行号得打印顺序(便于vscode直接跳转) 2021-07-28 17:18:58 +08:00
armink
470f4218ff !4 elog_set_filter_tag_lvl_default函数引起的编译器警告
Merge pull request !4 from BLE/dev
2021-07-10 08:03:02 +00:00
Liuxi
b81819a6b4 elog_set_filter_tag_lvl_default函数的参数由空修改为void,防止编译器报警告 2021-06-27 12:40:59 +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