log.lua

Mon, 07 Sep 2020 09:10:10 +0300

author
Tuomo Valkonen <tuomov@iki.fi>
date
Mon, 07 Sep 2020 09:10:10 +0300
changeset 37
d63f9862304a
parent 7
038275cd92ed
permissions
-rw-r--r--

more ignores


--@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