1
0
mirror of https://github.com/armink/EasyLogger.git synced 2025-01-18 23:32:54 +08:00

183 Commits

Author SHA1 Message Date
朱天龙 (Armink)
a596b2642e
[docs] update the API doc 2024-12-26 13:57:19 +08:00
Ken
34cc171782
[fix][docs] fix spelling mistakes (#166) 2024-11-30 08:33:10 +08:00
Kai
cd93d9c768
add marco for control function file and line fmt output (#156)
* add marco for control `function` `file` and `line` fmt output

* typo
2024-03-25 22:58:25 +08:00
朱天龙 (Armink)
8bae92efdf
Merge pull request #154 from aliliao/dev
elog_file: 添加编译宏控制
2024-02-17 21:09:53 +08:00
Ali.L
83d162f947 elog_file: 添加编译宏控制 2024-02-17 17:51:52 +08:00
Ali.L
a26da77cbd fix: 修正宏定义注释 2024-02-17 17:40:16 +08:00
朱天龙 (Armink)
98fbb735db
Merge pull request #148 from jhbdream/fix_file_mode
【修改】:修改源代码文件属性 去掉可执行属性
2023-11-15 17:57:01 +08:00
ji.hb
2245b9560c 【修改】:修改源代码文件属性 去掉可执行属性
1. 带有可执行属性会在bash界面显示特殊延时
  2. c源代码文件不需要特殊可执行属性
2023-11-15 13:06:05 +08:00
朱天龙 (Armink)
8585ed801d
Merge pull request #142 from Advanced-lj/master
修改文档拼写错误
2023-07-04 10:38:52 +08:00
Riggin
aee6f5c743 解决此demo关闭异步输出功能(//#define ELOG_ASYNC_OUTPUT_ENABLE),输出日志不完整的问题。
1,初始化时无需对两个信号量做释放操作。
2,修改elog_port_output()函数。
3,修改异步输出线程 void elog_entry(void *para)。
2023-06-28 18:15:48 +08:00
Riggin
8ea3ef9d3d 解决开启异步输出模式,但不启用 POSIX pthread 库时,编译器有warning的问题。
警告信息   warning: 'thread_running' defined but not used [-Wunused-variable]
2023-06-28 17:47:00 +08:00
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