Commit Graph

31 Commits

Author SHA1 Message Date
chenyong 43b1daf325 [utilities][ulog] fix ulog backend color log length calculation error
Signed-off-by: chenyong <chenyong@rt-thread.com>
2021-01-21 18:58:57 +08:00
chenyong 87b5f3f51e [components][utilities][ulog] Add backend filtering interface, add async log output control interface, ulog mutex change to semaphore
Signed-off-by: chenyong <chenyong@rt-thread.com>
2021-01-20 11:20:30 +08:00
michael 3f3ff458ed ulog:fixed compile err
syslog.c:154:34: error: unknown type name 'uint8_t'
2020-09-04 11:15:02 +08:00
teh-c d5e03ad5d1 rt_snprintf多了个参数。 2020-07-03 17:10:43 +08:00
a1012112796 73cae9564b [ULOG] fix raw size bug for backend which don't suport color 2020-01-07 11:22:26 +08:00
任光伟 9893f64610 ulogbuffer增加1,为\0预留空间
Signed-off-by: RGW <rgw5267@gmail.com>
2019-12-23 10:49:01 +08:00
chenyong 2b50d3d32c [components][finsh] Decouple RT_USING_DEVICE dependency for msh feature
Signed-off-by: chenyong <1521761801@qq.com>
2019-09-25 20:14:39 +08:00
armink 8feb6af992 [component/ulog] Fix ulog hexdump show issue. 2019-08-03 16:52:37 +08:00
armink 11b0c65921 [components][ulog] Make the asynchronous log output more timely. 2019-05-16 09:55:35 +08:00
armink 415d12220b [components][ulog] Fix the log length error when using multiple non-color backends. 2019-05-15 08:57:45 +08:00
armink fa4d4ab7cf Update all of debug log definition to DBG_TAG and DBG_LVL. 2019-04-12 10:18:57 +08:00
armink 584593071e [component][ulog] Fixed the thread name output. 2019-03-09 15:49:32 +08:00
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
MurphyZhao 5ea985d0fb [components][utilities/ulog] 修改 ulog_console_backend_init 从 `INIT_COMPONENT_EXPORT` 修改为 `INIT_PREV_EXPORT` 级别的自动初始化,与 ulog_init 同级
目的是为了组件初始化中的其他模块可以使用 ulog 输出日志。

Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-01-04 18:59:51 +08:00
朱天龙 (Armink) c7daacc96f
[component][ulog] Fix the ulog_strcpy function. 2019-01-03 15:31:04 +08:00
HubretXie 81cd4d4f4b
Update ulog.h
增加LOG_HEX
2018-12-04 09:10:52 +08:00
HubretXie fa06299637
Update ulog_def.h
增加log_hex
2018-12-04 09:09:58 +08:00
Dahua1992 0df270bfc5
add #include <sys/time.h>
原因tm = gmtime_r(&now, &tm_tmp);报错
2018-11-13 10:55:05 +08:00
Dahua1992 c71828fb33
add #include <sys/time.h>
原因 tm = gmtime_r(&now, &tm_tmp);报错
2018-11-13 10:22:53 +08:00
armink 106e6b77b2 [component][ulog] Fix a input parameter check error. 2018-11-10 09:49:21 +08:00
armink f28b9d83f7 [component][ulog] Fix a compile error when timestamp is enable. 2018-11-09 17:31:40 +08:00
armink acfe61b501 [component][ulog] Fix some comments. 2018-11-09 09:19:44 +08:00
armink 6a165e5cb1 [component][ulog] Update version to 0.1.1 . 2018-11-08 11:27:18 +08:00
armink c990f0a026 [component][ulog] Add tag filter to hexdump function. 2018-11-08 11:23:03 +08:00
armink 2ff67c932f [component][ulog] Add show filter settings shell command 'ulog_filter'. 2018-11-08 11:22:02 +08:00
armink ad602f5b90 [component][ulog] Add filter get API. 2018-11-08 11:20:42 +08:00
armink 2fe79faf3d [component][ulog] Fix a memory leak problem. 2018-11-08 10:59:25 +08:00
armink 9ceecb4d95 [component][ulog] Update ulog hexdump format. 2018-11-01 19:39:08 +08:00
armink c336099a93 [component][ulog] Reduce thread stack usage when using ulog. 2018-11-01 14:51:50 +08:00
armink e588dfa633 [component][ulog] Add newline param for ulog_output API. 2018-10-31 10:54:12 +08:00
armink 12a803bcc9 [component] Add ulog logger basic component. 2018-10-30 09:11:42 +08:00