PX4-Autopilot/docs/uk/msg_docs/LogMessage.md
PX4 Build Bot 30b6938f5e
New Crowdin translations - uk (#26552)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-03-05 14:01:38 +11:00

44 lines
1.8 KiB
Markdown

---
pageClass: is-wide-page
---
# LogMessage (повідомлення UORB)
A logging message, output with PX4_WARN, PX4_ERR, PX4_INFO.
**TOPICS:** log_message
## Fields
| Назва | Тип | Unit [Frame] | Range/Enum | Опис |
| --------- | ----------- | ---------------------------------------------------------------- | ---------- | --------------------------------------------------------------------------- |
| timestamp | `uint64` | | | time since system start (microseconds) |
| severity | `uint8` | | | log level (same as in the linux kernel, starting with 0) |
| text | `char[127]` | | | |
## Constants
| Назва | Тип | Значення | Опис |
| ----------------------------------------------------------------------------------------- | ------- | -------- | ---- |
| <a id="#ORB_QUEUE_LENGTH"></a> ORB_QUEUE_LENGTH | `uint8` | 4 | |
## Source Message
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/LogMessage.msg)
:::details
Click here to see original file
```c
# A logging message, output with PX4_WARN, PX4_ERR, PX4_INFO
uint64 timestamp # time since system start (microseconds)
uint8 severity # log level (same as in the linux kernel, starting with 0)
char[127] text
uint8 ORB_QUEUE_LENGTH = 4
```
:::