Write a string to the file
import "file" fh = file.open("log.txt", "w") fh.write "entry 1" fh.write "entry 2" fh.close
There was an error while loading. Please reload this page.