Skip to content

logfile Error

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

Also searchable as: logfile Error

logfile error writes a message at the error level. Something that went wrong. The four levels, from the lowest, are debug, info, warning and error; the others are logfile debug, logfile info, logfile warning.

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: [Error] text in the Output panel, with the date, time, script and line in a file.

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

See also