Software /
code /
prosody
Diff
util/logger.lua @ 5024:d25e1b9332cc
Merge with Florob
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 28 Jul 2012 01:14:31 +0100 |
parent | 4937:b3fe52353295 |
child | 5776:bd0ff8ae98a8 |
line wrap: on
line diff
--- a/util/logger.lua Sat Jun 09 02:27:44 2012 +0200 +++ b/util/logger.lua Sat Jul 28 01:14:31 2012 +0100 @@ -23,8 +23,6 @@ local log_warn = make_logger(name, "warn"); local log_error = make_logger(name, "error"); - --name = nil; -- While this line is not commented, will automatically fill in file/line number info - local namelen = #name; return function (level, message, ...) if level == "debug" then return log_debug(message, ...);