Package io.github.frc5024.lib5k.logging
Class USBLogger
- java.lang.Object
-
- io.github.frc5024.lib5k.logging.USBLogger
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class USBLogger extends java.lang.Object implements java.lang.AutoCloseable
The USBLogger is a class that is used to save a copy of all logs written toRobotLogger
to their own file. This saved file is located in "robot.log" in the current session directory (seeFileManagement
). To link a USBLogger object to RobotLogger, use RobotLogger.getInstance().enableUSBLogging()
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected void
writeln(java.lang.String line)
Write a line to the USB log
-