Package frc.lib5k.logging
Class USBLogger
- java.lang.Object
-
- frc.lib5k.logging.USBLogger
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class USBLogger extends java.lang.Object implements java.lang.AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description USBLogger(java.lang.String relPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
boolean
isUSBAttached()
void
splitLogfile()
void
writeln(java.lang.String line)
-
-
-
Method Detail
-
writeln
public void writeln(java.lang.String line)
-
splitLogfile
public void splitLogfile() throws java.io.IOException
- Throws:
java.io.IOException
-
isUSBAttached
public boolean isUSBAttached()
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Throws:
java.io.IOException
-
-