Struct LogEntry
Defined in File log_types.hpp
Struct Documentation
-
struct LogEntry
A single log entry stored in the ring buffer.
Public Members
-
int64_t id
Monotonically increasing server-assigned ID (starts at 1)
-
int64_t stamp_sec
Seconds component of log timestamp.
-
uint32_t stamp_nanosec
Nanoseconds component of log timestamp.
-
uint8_t level
ROS 2 log level (10=DEBUG, 20=INFO, 30=WARN, 40=ERROR, 50=FATAL)
-
std::string name
Logger name from /rosout — FQN WITHOUT leading slash e.g. “powertrain/engine/temp_sensor” (NOT “/powertrain/…”)
-
std::string msg
Human-readable log message.
-
std::string function
Source function name (may be empty)
-
std::string file
Source file path (may be empty)
-
uint32_t line
Source line number (0 if unknown)
-
int64_t id