log.lua@5c771653d5ac
log.lua
Mon, 07 Sep 2020 09:14:53 +0300
- author
- Tuomo Valkonen <tuomov@iki.fi>
- date
- Mon, 07 Sep 2020 09:14:53 +0300
- changeset 38
- 5c771653d5ac
- 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