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

72 Commits

Author SHA1 Message Date
ji.hb
2245b9560c 【修改】:修改源代码文件属性 去掉可执行属性
1. 带有可执行属性会在bash界面显示特殊延时
  2. c源代码文件不需要特殊可执行属性
2023-11-15 13:06:05 +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
zohar
f39726143e [demo/nuttx_spiflash] 新增nuttx平台的demo,Easyflash支持spi flash 2023-02-15 20:19:51 +08:00
朱天龙 (Armink)
08c890c672
Merge pull request #125 from kaidegit/master
【新增】FreeRTOS 的 demo
2022-09-14 22:29:45 +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
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
echohu
199ad5f371 【修复】windows demo自动编译报错
i#
2021-11-09 18:24:12 +08:00
5ooo
55c326acb8 [demo][linux] optimize async log 2021-04-07 18:16:13 +08:00
5ooo
0faf2f865e [demo][linux] optimize elog_port_get_time 2021-04-02 19:04:10 +08:00
5ooo
bb20ae32f6 [easylogger] [demo][linux] add deinit for linux 2021-04-01 17:47:24 +08:00
armink
fd21dfe753 [demo][linux] Update for file plugin changes. 2020-06-27 11:17: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
b67a5257c2 [demo] Update the windows demo and support the new file plugin. 2020-06-12 23:53:38 +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)
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
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
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
benbenshi
6235866867 feature:增加hexdump功能
1、移植ulog的hexdump功能,验证ok,main.c编译后hexdump输出如下:
D/HEX test: 0000-0010: 00 01 02 03 04 05 06 07  08 09 0A 0B 0C 0D 0E 0F    ................
D/HEX test: 0010-0020: 10 11 12 13 14 15 16 17  18 19 1A 1B 1C 1D 1E 1F    ................
D/HEX test: 0020-0030: 20 21 22 23 24 25 26 27  28 29 2A 2B 2C 2D 2E 2F     !"#$%&'()*+,-./
D/HEX test: 0030-0040: 30 31 32 33 34 35 36 37  38 39 3A 3B 3C 3D 3E 3F    0123456789:;<=>?
D/HEX test: 0040-0050: 40 41 42 43 44 45 46 47  48 49 4A 4B 4C 4D 4E 4F    @ABCDEFGHIJKLMNO
D/HEX test: 0050-0060: 50 51 52 53 54 55 56 57  58 59 5A 5B 5C 5D 5E 5F    PQRSTUVWXYZ[\]^_
D/HEX test: 0060-0070: 60 61 62 63 64 65 66 67  68 69 6A 6B 6C 6D 6E 6F    `abcdefghijklmno
D/HEX test: 0070-0080: 70 71 72 73 74 75 76 77  78 79 7A 7B 7C 7D 7E 7F    pqrstuvwxyz{|}~.
D/HEX test: 0080-0090: 80 81 82 83 84 85 86 87  88 89 8A 8B 8C 8D 8E 8F    ................
D/HEX test: 0090-00A0: 90 91 92 93 94 95 96 97  98 99 9A 9B 9C 9D 9E 9F    ................
D/HEX test: 00A0-00B0: A0 A1 A2 A3 A4 A5 A6 A7  A8 A9 AA AB AC AD AE AF    ................
D/HEX test: 00B0-00C0: B0 B1 B2 B3 B4 B5 B6 B7  B8 B9 BA BB BC BD BE BF    ................
D/HEX test: 00C0-00D0: C0 C1 C2 C3 C4 C5 C6 C7  C8 C9 CA CB CC CD CE CF    ................
D/HEX test: 00D0-00E0: D0 D1 D2 D3 D4 D5 D6 D7  D8 D9 DA DB DC DD DE DF    ................
D/HEX test: 00E0-00F0: E0 E1 E2 E3 E4 E5 E6 E7  E8 E9 EA EB EC ED EE EF    ................
D/HEX test: 00F0-0100: F0 F1 F2 F3 F4 F5 F6 F7  F8 F9 FA FB FC FD FE FF    ................
2018-12-21 02:29:34 -05:00
armink
c50a0c9d0f 1、【增加】ELOG_ASYNC_OUTPUT_LVL 宏,可限制仅允许低于该级别日志采用异步输出,详见说明文档。
Signed-off-by: armink <armink.ztl@gmail.com>
2017-11-30 20:10:55 +08:00
armink
abbf1e0f19 1、【增加】log_x 及 assert API,简化用户的书写方式;
2、【增加】按产品模块可配置日志输出优先级的功能。

Signed-off-by: armink <armink.ztl@gmail.com>
2017-02-09 11:12:15 +08:00
armink
123407ca94 1、【增加】异步按行日志(以换行符结尾)格式输出功能;
2、【增加】查找日志级别及标签功能。

Signed-off-by: armink <armink.ztl@gmail.com>
2016-11-26 10:29:30 +08:00
armink
478338bf5d 1、【完善】Demo 说明文档。
Signed-off-by: armink <armink.ztl@gmail.com>
2016-11-23 13:06:45 +08:00
armink
32791cb60f 1、【增加】ELOG_OUTPUT_ENABLE 宏,日志颜色功能可以以静态方法开启或关闭。启用颜色功能必须定义该宏。
Signed-off-by: armink <armink.ztl@gmail.com>
2016-11-24 12:28:30 +08:00
armink
3fee41c061 1、【增加】软件运行时动态使能及失能异步及缓冲输出模式功能。使得软件在出现异常时,异常日志可以在被正常输出。
Signed-off-by: armink <armink.ztl@gmail.com>
2016-11-24 11:47:14 +08:00
armink
ccc7799b09 1、【更新】RT-Thread Demo 使用的 EasyFlash 库至最新版本。
Signed-off-by: armink <armink.ztl@gmail.com>
2016-11-24 10:06:58 +08:00
armink
8472a3f382 1、【完善】STM32 Demo Keil 工程配置,增强其对 Keil4 平台编译兼容性。
Signed-off-by: armink <armink.ztl@gmail.com>
2016-11-16 11:10:40 +08:00
armink
77338f666f 1、【修改】RT-Thread Demo,默认开启异步输出模式。
Signed-off-by: armink <armink.ztl@gmail.com>
2016-11-14 19:39:36 +08:00
armink
9b6e79c5c1 1、【更新】RT-Thread Demo 使用的 EasyFlash 库至最新版本。
Signed-off-by: armink <armink.ztl@gmail.com>
2016-11-14 19:32:05 +08:00
armink
f9c3b16164 1、【修复】Linux Demo 编译错误。
Signed-off-by: armink <armink.ztl@gmail.com>
2016-11-13 23:36:23 +08:00
armink
4601801c04 1、【修改】Linux Demo ,使其开启异步输出模式。
Signed-off-by: armink <armink.ztl@gmail.com>
2016-11-13 23:27:53 +08:00
armink
cc99d24fe3 1、【增加】异步输出模式及缓冲输出模式。
Signed-off-by: armink <armink.ztl@gmail.com>
2016-11-13 23:21:48 +08:00
armink
2829bacf0e 1、【开启】Linux Demo 彩色日志功能。
Signed-off-by: armink <armink.ztl@gmail.com>
2016-11-13 21:48:09 +08:00
armink
924f632993 1、【优化】Demo 日志输出宏定义,使用更加便捷。
Signed-off-by: armink <armink.ztl@gmail.com>
2016-11-12 22:19:52 +08:00
armink
afe59ec04a 1、【修改】RT-Thread Demo 一处代码格式。
Signed-off-by: armink <armink.ztl@gmail.com>
2016-10-11 22:23:18 +08:00
armink
43e1955c5e 1、【完善】RT-Thread Demo 一处异常细节处理。
Signed-off-by: armink <armink.ztl@gmail.com>
2016-10-11 22:14:46 +08:00
armink
000e675d0e 1、【修改】Flash 插件几处单词拼写错误。
Signed-off-by: armink <armink.ztl@gmail.com>
2016-10-11 22:10:17 +08:00
armink
3a4b6fc1a4 1、【修复】RT-Thread Demo Keil 工程编译错误。
Signed-off-by: armink <armink.ztl@gmail.com>
2016-10-11 22:04:23 +08:00
armink
4d84b97abf 1、【更新】RT-Thread Demo 中使用的 EasyFlash 库至最新版本。
Signed-off-by: armink <armink.ztl@gmail.com>
2016-09-19 08:48:44 +08:00
armink
b2a2f3f8d6 1、【增加】断言开关,用户可以通过全局宏定义打开/关闭断言检查功能。
Signed-off-by: armink <armink.ztl@gmail.com>
2016-05-13 16:55:31 +08:00