HOOZiDocs
Skip to content

log

Developer diagnostic log, viewable in the in-menu console.

Difference from notify.*:

PurposeUseWho sees it
Developer diagnostics / debug info / error tracinglog.*In-menu console
User-facing messages (action feedback, error warnings)gui.notify:*Floating toast, auto-dismisses in ~3-5s

log.info(...) / log.success(...) / log.warn(...) / log.error(...)

Parameters: variadic (multiple arguments are joined with tabs automatically)

log.error output only contains the Lua-side origin, not internal binding call frames, keeping the console clean.


Example

lua
log.info("Script loaded")
log.success("Preset applied: " .. preset_name)
log.warn("HTTP fail: " .. (resp.error or ""))
log.error("Failed to read config file")

-- variadic
log.info("FPS:", fps, "loots:", loot_count)