mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-05 15:11:35 +08:00
logging: publish a message for PX4_{WARN,ERR} & store them to the ulog file
- ulog file message rate limited to 50Hz - queuing with size 2 - this replaces the mavlink log message in the ulog (but the mavlink warnings & errors still go to the ulog)
This commit is contained in:
@@ -128,6 +128,11 @@ static inline void do_nothing(int level, ...)
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
/**
|
||||
* initialize the orb logging. Logging to console still works without or before calling this.
|
||||
*/
|
||||
__EXPORT extern void px4_log_initialize(void);
|
||||
|
||||
__EXPORT extern const char *__px4_log_level_str[_PX4_LOG_LEVEL_PANIC + 1];
|
||||
__EXPORT extern const char *__px4_log_level_color[_PX4_LOG_LEVEL_PANIC + 1];
|
||||
__EXPORT extern void px4_backtrace(void);
|
||||
|
||||
Reference in New Issue
Block a user