--- a/log.lua Sun May 07 20:02:53 2017 +0100 +++ b/log.lua Tue Jan 16 16:39:48 2018 +0000 @@ -1,10 +1,14 @@ -module("log", package.seeall) +--@module log -require("config") +local log={} -function log(str) +local config=require("config") + +function log.log(str) if config.debug then io.stderr:write(str) end end + +return log