Skip to main content

flight_log_service


service FlightLog

Used to log to a flight log.

This service is hosted by a logger instance and is responsible for writing all system logs to an MCAP file for mission playback.

rpc Log

Basic log endpoint.

Behaves identically to most log endpoints, but writes the data to an MCAP file instead of the console.

Accepts

LogRequest

Returns

Response

rpc LogProto

Protobuf log endpoint.

Accepts Protobuf Request/Response types, and writes the data to an MCAP file. Useful for playback of gRPC calls.

Accepts

LogProtoRequest

Returns

Response

enum LogType

Log types (follows Python convention).

Fields

field  DEBUG  (0) for debugging

field  INFO  (1) information

field  PROTO  (2) Protobuf objects

field  WARNING  (3) warnings

field  ERROR  (4) errors

field  CRITICAL  (5) critical errors


message LogRequest

Fields

field  request  (Request) request data

field  topic  (string) topic of the log

field  log  (LogMessage) log content


message LogMessage

Basic log message.

Fields

field  type  (LogType) type of the log

field  msg  (string) message content


message ReqRepProto

Protobuf object that is either a Request/Response type.

Fields

field  request  (Request) request data

field  response  (Response) response data

field  name  (string) name of the request and associated service

field  content  (string) plaintext representation of the proto contents (usually via MessageToDict)


message LogProtoRequest

Fields

field  request  (Request) request data

field  topic  (string) topic of the log

field  reqrep_proto  (ReqRepProto) Request/Response object and content