log.lua

changeset 3
b2df1b3f2c83
child 7
038275cd92ed
equal deleted inserted replaced
2:3975fa5ed630 3:b2df1b3f2c83
1
2 module("log", package.seeall)
3
4 require("config")
5
6 function log(str)
7 if config.debug then
8 io.stderr:write(str)
9 end
10 end

mercurial