Closed BD103 closed 2 months ago
Currently close() requires you to pass a String of the name of the file:
close()
String
https://github.com/BotsBurgh/BOTSBURGH-FTC-2024-25/blob/7979f77fbb2b0349ec80d7d697bd040b5535e591/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/api/Logging.kt#L121-L123
Realistically we're never going to need to close individual files, just all of them at once. close() should be restructured to iterate over all files within fileHash and volatileFileHash and close them.
fileHash
volatileFileHash
Currently
close()
requires you to pass aString
of the name of the file:https://github.com/BotsBurgh/BOTSBURGH-FTC-2024-25/blob/7979f77fbb2b0349ec80d7d697bd040b5535e591/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/api/Logging.kt#L121-L123
Realistically we're never going to need to close individual files, just all of them at once.
close()
should be restructured to iterate over all files withinfileHash
andvolatileFileHash
and close them.