log.lua

Sun, 13 Sep 2009 22:22:47 +0300

author
Tuomo Valkonen <tuomov@iki.fi>
date
Sun, 13 Sep 2009 22:22:47 +0300
changeset 3
b2df1b3f2c83
child 7
038275cd92ed
permissions
-rw-r--r--

Improvements


module("log", package.seeall)

require("config")

function log(str)
    if config.debug then
        io.stderr:write(str)
    end
end

mercurial