Last active
September 30, 2022 12:18
-
-
Save cp-hardik-p/80cc55cff0f5e4aa34000419a957e945 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private fun writeLog(logFile: File, log: String) { | |
| val writer = FileWriter(logFile, true) | |
| writer.append(log) | |
| writer.flush() | |
| writer.close() | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment