Software /
code /
prosody
Changeset
4937:b3fe52353295
util.logger: Remove some redundant code
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 25 Jun 2012 00:16:08 +0100 |
parents | 4936:92c86e11fd44 |
children | 4938:76a960bff4c7 |
files | util/logger.lua |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/util/logger.lua Thu Jul 05 17:58:47 2012 +0200 +++ b/util/logger.lua Mon Jun 25 00:16:08 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, ...);