Function

log

From mothwing ยท src/log.js:6

Prints a line the way mothwing's own are, [ HTML ] 2026-01-01 12:00:00 message, for hooks to report in.

log(type: string, message: string): void

Parameters

typestringShort tag, like "HTML"
messagestring

Returns

void