Function
log
From mothwing ยท src/log.js:25
Prints a line the way mothwing's own are, [ HTML ] 2026-01-01 12:00:00 message, for hooks to report in. "WARN" and "ERROR" stand out in their own colours, and ERROR goes to stderr.
log(type: string, message: string): voidParameters
type | string | Short tag, like "HTML" |
|---|---|---|
message | string |
Returns
void