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.AutoCloseableThe USBLogger is a class that is used to save a copy of all logs written toRobotLoggerto 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 voidclose()protected voidwriteln(java.lang.String line)Write a line to the USB log
-