FateLogManager
Gives every OpMode a log. It registers a FateLogBackend on Fate.registry when the OpMode is initialized and closes it when the OpMode stops.
Nothing needs setting up. The Robot Controller calls registerOpModeListener at startup, and from then on whatever robot code logs through Fate lands in the running OpMode's log. Values logged while no OpMode is running, such as between OpModes, are not written to a log.
Only the backend this class registers is ever removed, so a backend you register yourself on Fate.registry keeps working across OpModes.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns a backend that writes to a log file named fileName and to the live stream, when mode allows it and FlightProjector is running. In LogMode.LIVE the file is skipped while the stream is running.
Link copied to clipboard