diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-10-16 23:00:42 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-10-16 23:00:42 +0500 |
commit | b7e51a203d3d95961294c711ae0d9c449ddb040d (patch) | |
tree | 376af083a7225da43a8659f6d0d6184966d10baa /tests/util | |
parent | 85b44a1dfd59fee9a26527cc759ef72780a1668c (diff) | |
download | prosody-b7e51a203d3d95961294c711ae0d9c449ddb040d.tar.gz prosody-b7e51a203d3d95961294c711ae0d9c449ddb040d.zip |
Monster whitespace commit (beware the whitespace monster).
Diffstat (limited to 'tests/util')
-rw-r--r-- | tests/util/logger.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/util/logger.lua b/tests/util/logger.lua index e62a1aa8..35facd4e 100644 --- a/tests/util/logger.lua +++ b/tests/util/logger.lua @@ -33,7 +33,7 @@ function init(name) 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); |