Commit Graph

47 Commits

Author SHA1 Message Date
armink 4399aed641 fix build error. 2021-12-03 13:34:03 +08:00
armink d8d15017bc [ulog] Add ulog backend filter. 2021-12-03 12:04:20 +08:00
rtthread-bot a702763dbc Merge remote-tracking branch 'rtt_gitee/gitee_master' 2021-10-15 08:20:37 +00:00
Bernard Xiong e0c7371b02
Merge pull request #5114 from armink/fix_ulog
[utilities][ulog] Increase the usec check time.
2021-10-11 01:53:21 +08:00
armink 1f5a4ffe02 [utilities][ulog] Increase the usec check time. 2021-10-09 16:55:46 +08:00
shishirong 797c80a7cb fix ulog compile error. 2021-10-08 10:03:01 +08:00
shishirong ab86b7490d fix Macro definition syntax error in ulog.c 2021-09-09 17:02:21 +08:00
马志远 221da7f464 Remove C Style Command Shell 2021-08-23 17:30:05 +08:00
梁林 a6bf03a0c8 多个ulog后端时不支持support_color后端的log指针偏移错误,导致保存到文件的日志出现乱码。 2021-08-19 09:13:16 +08:00
armink e0b9987508 [ulog] Add output locker enabled API
Signed-off-by: armink <armink.ztl@gmail.com>
2021-05-19 18:17:37 +08:00
Bernard Xiong 3fa35a398b
Update ulog.c
Use `rt_thread_self()` to determine whether the scheduler is started or not.
2021-04-19 06:50:58 +08:00
armink 2ea39b4f05 [ulog] Using gettimeofday for timestamp get. 2021-04-15 14:15:39 +08:00
armink 3ae6ca1fb0 [ulog] Fix thread info show when kernel not startup. 2021-04-15 14:10:27 +08:00
Meco Man 3c05a4e719 [compoenets] auto & manual formatted 2021-03-08 18:19:04 +08:00
iysheng 0b2212f773 [components][ulog] Add support with timestamp print in function ulog_hexdump 2021-03-02 12:11:19 +08:00
chenyong cddf947863 [utilities][ulog] Add LOG_RAW ringbuffer to fix printing line limit issue
Signed-off-by: chenyong <chenyong@rt-thread.com>
2021-02-01 11:22:05 +08:00
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