log.lua@5700ebe9277b
log.lua
Fri, 24 Jan 2025 13:27:45 +0100
- author
- Tuomo Valkonen <tuomov@iki.fi>
- date
- Fri, 24 Jan 2025 13:27:45 +0100
- changeset 44
- 5700ebe9277b
- parent 7
-
038275cd92ed
- permissions
- -rw-r--r--
Fix directory creation, as lfs doesn't do all leaves like the old approach.
--@module log
local log={}
local config=require("config")
function log.log(str)
if config.debug then
io.stderr:write(str)
end
end
return log