Skip to content

logfile Warning

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

Also searchable as: logfile Warning

logfile warning writes a message at the warning level. Something the script can go on with, but you should know about. The four levels, from the lowest, are debug, info, warning and error; the others are logfile debug, logfile info, 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: [Warning] text in the Output panel, with the date, time, script and line in a file.

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

See also