Module · Scripting core
log
Writes to the mod log, shown in the mod manager, the DevTools console and the game's log file. Values are converted like print does.
log.debug(...: any)
Writes a debug line.
log.debug("spawned", count, "props")log.error(...: any)
Writes an error line. This does not stop the script — use error() for that.
log.info(...: any)
Writes an informational line.
log.info("Hello from", mod.name)log.warn(...: any)
Writes a warning.