FlightRecorder

object FlightRecorder : OpModeManagerNotifier.Notifications

Functions

Link copied to clipboard
fun <T> createChannel(name: String, schema: FateSchema<T>): FlightLogChannel<T>

Creates a new log channel attached to the current OpMode's writer.

Link copied to clipboard
open override fun onOpModePostStop(opMode: OpMode?)
Link copied to clipboard
open override fun onOpModePreInit(opMode: OpMode?)
Link copied to clipboard
open override fun onOpModePreStart(opMode: OpMode?)
Link copied to clipboard
@WebHandlerRegistrar
fun registerRoutes(context: Context, manager: WebHandlerManager)
Link copied to clipboard

Adds a timestamp to the log if the timestamp channel is available.

Link copied to clipboard
fun <T> write(channel: LogChannel<T>, obj: T)
fun write(channelName: String, obj: Any)