mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
util.logger: Remove some redundant code
This commit is contained in:
parent
ae0fdd43a4
commit
538620add4
1 changed files with 0 additions and 2 deletions
|
@ -23,8 +23,6 @@ function init(name)
|
|||
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, ...);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue