470 B
470 B
basalt.log
This writes something into a file. The main goal is to make debugging errors easier. Lets say you'r program is crashing and you don't know why, you could use basalt.log
The log files will automatically removed after you start your program again
Parameters:
stringThe text to write into the log filestring- optional (default: "Debug") - the type to write
Usage:
- Writes "Hello!" into the log file
basalt.log("Hello!")