Log
Log message
Panel Support
The Log
message type is used in the Log Panel.
Data Structure
Field | Type | Description |
---|---|---|
timestamp | time | Timestamp of the log message |
level | LogLevel | Log level |
message | string | Log message content |
name | string | Process or node name |
file | string | Filename |
line | uint32 | Line number in file |
Reference Implementation
The visualization data structure is framework-independent and can be implemented using any supported message encoding:
Encoding | Data Structure |
---|---|
ROS 1 | foxglove_msgs/Log |
ROS 2 | foxglove_msgs/msg/Log |
JSON | foxglove.Log |
Protobuf | foxglove.Log |
FlatBuffers | foxglove.Log |
OMG IDL | foxglove::Log |
You must use the data structure names specified above for the visualization to recognize the data structure.