refactor(log): dont give a thing about var that is not even declared
This commit is contained in:
parent
fa223c8904
commit
385b951938
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ do
|
|||
local nameupper = level_config.name:upper()
|
||||
|
||||
local msg = message_maker(...)
|
||||
local info = debug.getinfo(config.info_level or 2, "Sl")
|
||||
local info = debug.getinfo(2, "Sl")
|
||||
local lineinfo = info.short_src .. ":" .. info.currentline
|
||||
|
||||
-- Output to console
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue