Skip to main content

Log

Log message

Panel Support​

The Log message type is used in the Log Panel.

Data Structure​

FieldTypeDescription
timestamptimeTimestamp of the log message
levelLogLevelLog level
messagestringLog message content
namestringProcess or node name
filestringFilename
lineuint32Line number in file

Reference Implementation​

The visualization data structure is framework-independent and can be implemented using any supported message encoding:

EncodingData Structure
ROS 1foxglove_msgs/Log
ROS 2foxglove_msgs/msg/Log
JSONfoxglove.Log
Protobuffoxglove.Log
FlatBuffersfoxglove.Log
OMG IDLfoxglove::Log

You must use the data structure names specified above for the visualization to recognize the data structure.