log
INFO
Başvuru metni WIT dosyalarından otomatik üretildiği için İngilizce.
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.
| Case | Description |
|---|---|
trace | Very detailed output, hidden by default. |
debug | Diagnostic output, hidden by default. |
info | Normal messages. |
warn | Something looks wrong but the mod keeps working. |
error | Something 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.