documentation index ◦ reference manual ◦ function index
Function: | renpy.log | (msg): |
If config.log is not set, this does nothing. Otherwise, it opens the logfile (if not already open), formats the message to 70 columns, and prints it to the logfile.
init: $ config.log = "debuglog.txt" "Debug message coming up..." $ renpy.log("This message goes to the debuglog.txt")