porla_log
Logs at a given level. Arguments work like print: converted with tostring
and separated by tabs. Entries are tagged with the plugin's id (plugin_id)
and show up in the console log and in
logs.list. print logs at info.
Entries below Porla's log level are dropped.
Exports
debug(...): void
info(...): void
warning(...): void
error(...): void
Example
local log = require("porla_log")
log.info("Checking", 3, "feeds")
log.warning("Feed unreachable:", url)