Diff

libs/logger.lua @ 0:caf260adc453

Beginning of new verse
author Matthew Wild <mwild1@gmail.com>
date Tue, 04 Aug 2009 00:10:45 +0100
child 5:93970910d064
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libs/logger.lua	Tue Aug 04 00:10:45 2009 +0100
@@ -0,0 +1,10 @@
+local print = print
+module "logger"
+
+function init(name)
+	return function (level, message)
+		print(level, message);
+	end
+end
+
+return _M;