Skip to content

log ​

INFO

Сам справочник на английском: он создаётся автоматически из WIT-файлов.

Logging to the server console or the client log. Lines are prefixed with the mod id by the host.

Package blockheads:api@0.3.1 · Lua table bh.log · WIT source

Types ​

level enum ​

Log severity.

CaseDescription
traceVery detailed output, hidden by default.
debugDiagnostic output, hidden by default.
infoNormal messages.
warnSomething looks wrong but the mod keeps working.
errorSomething failed.

Functions ​

log function ​

txt
log: func(level: level, message: string);

Writes one log line. Messages longer than 4096 bytes are truncated by the host.

Неофициальный проект сообщества. Не связан с Majic Jungle Software или Noodlecake. Файлы игры не включены.