Diff

util/logger.lua @ 259:1485d272400d

Some more logging fixes
author Matthew Wild <mwild1@gmail.com>
date Fri, 14 Nov 2008 02:41:37 +0000
parent 147:ccebb2720741
child 262:8c73fb2ff4a2
line wrap: on
line diff
--- a/util/logger.lua	Fri Nov 14 02:38:41 2008 +0000
+++ b/util/logger.lua	Fri Nov 14 02:41:37 2008 +0000
@@ -13,9 +13,9 @@
 					level = level .. ","..tostring(inf.short_src):match("[^/]*$")..":"..inf.currentline;
 				end
 				if ... then 
-					print(level, format(message, ...));
+					print(name, level, format(message, ...));
 				else
-					print(level, message);
+					print(name, level, message);
 				end
 			end
 end