1
0
mirror of https://github.com/armink/EasyLogger.git synced 2025-01-31 21:42:53 +08:00

42 Commits

Author SHA1 Message Date
5ooo
bb20ae32f6 [easylogger] [demo][linux] add deinit for linux 2021-04-01 17:47:24 +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>
2019-11-30 21:18:28 +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
fbdc6c23b0 【更新】软件版本号。
Signed-off-by: armink <armink.ztl@gmail.com>
2019-07-29 09:00:56 +08:00
armink
6734e930fd 【修正】ELOG_OUTPUT_ENABLE 未定义时存在的编译错误。感谢网友 @mojinpan 的反馈。
Signed-off-by: armink <armink.ztl@gmail.com>
2019-03-30 09:26:56 +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
8c957b1719 【完善】日志缓冲区溢出检查处理。
Signed-off-by: armink <armink.ztl@gmail.com>
2018-08-09 15:09:54 +08:00
armink
2dfba8ee3a 【修复】关键词过滤功能可能过滤脏数据的情况。
Signed-off-by: armink <armink.ztl@gmail.com>
2018-08-02 14:17:28 +08: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
7a3d4314d1 1、【增加】elog_memcpy 方法,提升了 Flash 插件跨平台的兼容性。
Signed-off-by: armink <armink.ztl@gmail.com>
2016-12-19 11:15:23 +08:00
armink
123407ca94 1、【增加】异步按行日志(以换行符结尾)格式输出功能;
2、【增加】查找日志级别及标签功能。

Signed-off-by: armink <armink.ztl@gmail.com>
2016-11-26 10:29:30 +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
cc99d24fe3 1、【增加】异步输出模式及缓冲输出模式。
Signed-off-by: armink <armink.ztl@gmail.com>
2016-11-13 23:21:48 +08:00
armink
cd1ad2ff41 1、【修改】日志默认无背景颜色,增强兼容性。
Signed-off-by: armink <armink.ztl@gmail.com>
2016-10-29 08:20:56 +08:00
armink
68d4dd7b96 1、【优化】新增加日志颜色功能后的代码结构及格式。
Signed-off-by: armink <armink.ztl@gmail.com>
2016-10-27 23:33:53 +08:00
ju5t4fun
764d600a48 add function "elog_set_text_color_enabled" and "elog_get_text_color_enabled" to enable and disable log text color
Signed-off-by: ju5t4fun <ihupeng@126.com>
2016-10-26 16:49:58 +08:00
ju5t4fun
5bca89b9a3 add log text color
Signed-off-by: ju5t4fun <ihupeng@126.com>
2016-10-26 16:04:41 +08:00
armink
c74837f75c 1、【完善】日志溢出处理。
Signed-off-by: armink <armink.ztl@gmail.com>
2016-10-12 15:46:54 +08:00
armink
b2a2f3f8d6 1、【增加】断言开关,用户可以通过全局宏定义打开/关闭断言检查功能。
Signed-off-by: armink <armink.ztl@gmail.com>
2016-05-13 16:55:31 +08:00
armink
a8a96d57e1 1、【增加】一处遗漏的宏定义。
Signed-off-by: armink <armink.ztl@gmail.com>
2015-09-16 13:21:05 +08:00
armink
6fc16805e5 1、【优化】参数配置的顺序,逻辑性更强。
Signed-off-by: armink <armink.ztl@gmail.com>
2015-08-11 16:00:50 +08:00
armink
0e050e19b3 1、【增加】EasyLogger参数配置文件。
Signed-off-by: armink <armink.ztl@gmail.com>
2015-07-30 14:00:37 +08:00
armink
945bb590aa 1、【完善】源码文件结构,将插件目录独立出来。
Signed-off-by: armink <armink.ztl@gmail.com>
2015-07-28 10:48:11 +08:00
armink
110b2f46de 1、【增加】日志格式可按照级别,独立配置功能;
Signed-off-by: armink <armink.ztl@gmail.com>
2015-07-25 16:32:42 +08:00
armink
b4b09a290a 1、【修改】一处单词书写错误。
Signed-off-by: armink <armink.ztl@gmail.com>
2015-07-10 14:08:11 +08:00
armink
ca5bd13a69 1、【更新】使用的EasyFlash接口名称。
Signed-off-by: armink <armink.ztl@gmail.com>
2015-07-06 11:47:42 +08:00
armink
26aa31ed60 1、【增加】断言的钩子方法。
Signed-off-by: armink <armink.ztl@gmail.com>
2015-06-27 08:59:43 +08:00
armink
3f56ade85f 1、【增加】开启/关闭同步锁功能,保证系统或硬件在出现异常时,EasyLogger依然正常可以工作。
Signed-off-by: armink <armink.ztl@gmail.com>
2015-06-25 14:28:49 +08:00
armink
2adfe8a479 1、【完善】日志输出API,不同级别日志输出时可以使用简写(elog_a)或非简写(elog_assert)API。
Signed-off-by: armink <armink.ztl@gmail.com>
2015-06-24 15:53:02 +08:00
armink
dda123630e 1、【增加】用户自定义换行符。
Signed-off-by: armink <armink.ztl@gmail.com>
2015-06-23 15:56:41 +08:00
armink
8c4a4b94d7 1、【修改】开源许可协议为MIT协议。
Signed-off-by: armink <armink.ztl@gmail.com>
2015-06-17 12:08:26 +08:00
armink
9a728efc5e 1、【增加】两个读取Flash Log的方法。
Signed-off-by: armink <armink.ztl@gmail.com>
2015-06-10 15:02:26 +08:00
armink
b88104085a 1、【增加】flash log插件,实现日志的flash存储功能。
Signed-off-by: armink <armink.ztl@gmail.com>
2015-06-10 12:04:35 +08:00
armink
58ef4d7be0 1、【增加】C++编译器的支持。
Signed-off-by: armink <armink.ztl@gmail.com>
2015-05-25 10:50:11 +08:00
armink
61065e4676 2、【删除】无用的宏定义NULL。
Signed-off-by: armink <armink.ztl@gmail.com>
2015-05-16 14:20:55 +08:00
armink
3eef3c5ab5 1、【增加】C99的stdbool.h,保证项目全部采用C99的bool的类型。
Signed-off-by: armink <armink.ztl@gmail.com>
2015-05-16 14:02:53 +08:00
armink
ccd4fd8520 1、【删除】日志输出的结束符'\0'。
Signed-off-by: armink <armink.ztl@gmail.com>
2015-05-15 19:37:43 +08:00
armink
908931e7c8 1、【增加】RT-Thread操作系统Demo;
2、【完善】说明文档;

Signed-off-by: armink <armink.ztl@gmail.com>
2015-05-11 14:57:00 +08:00
armink
2dad750674 1、【增加】Git仓库。
Signed-off-by: armink <armink.ztl@gmail.com>
2015-05-09 12:15:34 +08:00