aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/logger.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/logger.lua b/util/logger.lua
index 8d983605..fd5d3d80 100644
--- a/util/logger.lua
+++ b/util/logger.lua
@@ -13,9 +13,9 @@ function init(name)
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