log.lua

Wed, 15 Dec 2021 10:37:47 +0200

author
Tuomo Valkonen <tuomov@iki.fi>
date
Wed, 15 Dec 2021 10:37:47 +0200
changeset 41
8040d3a298e4
parent 7
038275cd92ed
permissions
-rw-r--r--

Add ANTI-ABUSE LICENSE


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