Merge 0.10->trunk
[prosody.git] / tests / util / logger.lua
index e62a1aa8ccca4c991e60d09b4ddea2b099886eca..c133e33233b5c45903bef1c16d38b1a95429d74f 100644 (file)
@@ -1,7 +1,7 @@
 -- Prosody IM
 -- Copyright (C) 2008-2010 Matthew Wild
 -- Copyright (C) 2008-2010 Waqas Hussain
--- 
+--
 -- This project is MIT/X11 licensed. Please see the
 -- COPYING file in the source package for more information.
 --
@@ -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);