Log

log [<message>] (<file name>)

Logs some text to the dedicated script log file, or optionally, a text file of choice starting at CoyoteMIDI/logs/scripts/. This message will also be printed to the standard debug outputs.

Parameters:

  1. The message to be logged.
  2. The name of the file to log to. By default, this will be a shared script log file found at CoyoteMIDI/logs/scriptslog.txt