Skip to content

logfile Debug

Sub-commandLoggingNew in Reforged
logfile debug [text]
Sets
#LogRes

Also searchable as: logfile Debug

logfile debug writes a message at the debug level. Details you want while writing or fixing a script. The four levels, from the lowest, are debug, info, warning and error; the others are logfile info, logfile warning, logfile error.

The message goes to every target, the Output panel and each file opened with logfile open, as long as its level is at least the script’s minimum (logfile level) and that target’s (logfile set). Each target writes it in its own format: [Debug] text in the Output panel, with the date, time, script and line in a file.

Parameter Meaning
text Optional. Everything after debug, with variables replaced by their values and the words joined by one space, as log reads them.
logfile open run run.log
logfile debug Hits are #Hits of #MaxHits
halt

See also