summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lua/libmana.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/lua/libmana.lua b/scripts/lua/libmana.lua
index 777d8e0..d133e57 100644
--- a/scripts/lua/libmana.lua
+++ b/scripts/lua/libmana.lua
@@ -37,9 +37,10 @@ world = setmetatable({}, {
})
-- Some convenient shortcuts for the different log levels
-function warn(...) log(LOG_WARN, table.concat({...}, " ")) end
-function info(...) log(LOG_INFO, table.concat({...}, " ")) end
-function debug(...) log(LOG_DEBUG, table.concat({...}, " ")) end
+function ERROR(...) log(LOG_ERROR, table.concat({...}, " ")) end
+function WARN(...) log(LOG_WARN, table.concat({...}, " ")) end
+function INFO(...) log(LOG_INFO, table.concat({...}, " ")) end
+function DEBUG(...) log(LOG_DEBUG, table.concat({...}, " ")) end
-- Array containing the function registered by atinit.
local init_fun = {}