Software /
code /
prosody
Diff
tests/util/logger.lua @ 3540:bc139431830b
Monster whitespace commit (beware the whitespace monster).
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sat, 16 Oct 2010 23:00:42 +0500 |
parent | 2923:b7049746bd29 |
child | 5776:bd0ff8ae98a8 |
line wrap: on
line diff
--- a/tests/util/logger.lua Sat Oct 16 08:34:32 2010 +0500 +++ b/tests/util/logger.lua Sat Oct 16 23:00:42 2010 +0500 @@ -33,7 +33,7 @@ local inf = debug.getinfo(3, 'Snl'); level = level .. ","..tostring(inf.short_src):match("[^/]*$")..":"..inf.currentline; end - if ... then + if ... then print(name, getstring(logstyles[level], level), format(message, ...)); else print(name, getstring(logstyles[level], level), message);