log.lua

Tue, 16 Jan 2018 17:24:27 +0000

author
Tuomo Valkonen <tuomov@liverpool.ac.uk>
date
Tue, 16 Jan 2018 17:24:27 +0000
changeset 12
5541f9577f27
parent 7
038275cd92ed
permissions
-rw-r--r--

Bitbucket didn't like <...> around email using HTML, so use Unicode


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