Created
          December 30, 2022 06:18 
        
      - 
      
- 
        Save cp-hardik-p/a2b7d29b8661d3491195ee8aaabd67a2 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