log.lua

Fri, 24 Jan 2025 13:28:19 +0100

author
Tuomo Valkonen <tuomov@iki.fi>
date
Fri, 24 Jan 2025 13:28:19 +0100
changeset 45
25ba15b1982a
parent 7
038275cd92ed
permissions
-rw-r--r--

Update dependencies. Still no updated markdown-it that wouldn't use deprecated punycode.


--@module log

local log={}

local config=require("config")

function log.log(str)
    if config.debug then
        io.stderr:write(str)
    end
end

return log

mercurial