log.lua@0ea4b0786b43
log.lua
Mon, 06 Jul 2020 12:19:21 -0500
- author
- Tuomo Valkonen <tuomov@iki.fi>
- date
- Mon, 06 Jul 2020 12:19:21 -0500
- changeset 23
- 0ea4b0786b43
- parent 7
-
038275cd92ed
- permissions
- -rw-r--r--
Only parse metadata if starts on first line
--@module log
local log={}
local config=require("config")
function log.log(str)
if config.debug then
io.stderr:write(str)
end
end
return log