时间信息(ULOG_OUTPUT_TIME、ULOG_TIME_USING_TIMESTAMP),颜色信息(ULOG_USING_COLOR),线程信息(ULOG_OUTPUT_THREAD_NAME),输出级别信息(ULOG_OUTPUT_LEVEL),输出标签信息(ULOG_OUTPUT_TAG),是否支持浮点(ULOG_OUTPUT_FLOAT(PKG_USING_RT_VSNPRINTF_FULL))等等。 Enable console backend——ULOG_BACKEND_USING_CONSO...
配置日志的格式(log format)选项描述如下所示: []Enablefloatnumbersupport.Itwillusingmorethreadstack./* 浮点型数字 的支 持 (传统的 rtdbg/rt_kprintf 均不支持浮点数日志) */[*]Enablecolorlog./* 带颜色的日志 */[*]Enabletimeinformation./* 时间信息 */[]Enabletimestampformatfortime./* 包括时间戳...
进入RT-Thread Kernel -> Kernel Device Object 修改可以使用的控制台设备【如:uart1,jlinkRtt】 RT-Thread Comonents -> Device Drivers Using RTC device drivers RT-Thread Comonents -> Utilities Enable ulog log format -> Enbale timestamp format for time Hardware Drivers Config -> On-chip Peripheral...
配置日志的格式(log format)选项描述如下所示: []Enablefloatnumber support.It will using more thread stack./* 浮点型数字的支持(传统的 rtdbg/rt_kprintf 均不支持浮点数日志) */[*]Enable color log./* 带颜色的日志 */[*]Enable time information./* 时间信息 */[]Enable timestamp formatfortime./...
It will using more thread stack. /* 浮点型数字的支持(传统的 rtdbg/rt_kprintf 均不支持浮点数日志) */ [*] Enable color log. /* 带颜色的日志 */ [*] Enable time information. /* 时间信息 */ [ ] Enable timestamp format for time. /* 包括时间戳 */ [*] Enable level information. /...
time information. /* 时间信息 */ [ ] Enable timestamp format for time. /* 包括时间...
The timestamp blockPX4 Absolute Timein this model is required to write the timestamp from Pixhawk to Simulink. This timestamp information is useful to analyze the ULog data and can be used from the PX4 Utils library in the Simulink model. This Simulink model allows you to log the desired ...
uLog gets out of your way when you're not using it: if ULOG_ENABLED is undefined at compile time, no logging code is generated. uLog is well tested. See the accompanying ulog_test.c file for details. A quick intro by example:
It can be seen that the time information has been changed from the tick value of the system to the timestamp information compared to the first run routine, and the thread information has also been output.Hexdump Output UsingHexdump is also a more common function when logging output. hexdump ...
[ ] Enable runtime log filter. /* 使能运行时的日志过滤器,即动态过滤。使能后,日志将支持按标签、关键词等方式,在系统运行时进行动态过滤。 */ 配置日志的格式(log format)选项描述如下所示: [ ] Enable float number support. It will using more thread stack. /* 浮点型数字的支持(传统的 rtdbg/rt...