mirror of
https://github.com/cave-story-randomizer/cave-story-randomizer
synced 2024-11-21 22:32:53 +00:00
fixes #117
This commit is contained in:
parent
d1a270b234
commit
00f29cb90c
|
@ -2,7 +2,9 @@ local LOG_LEVEL, _logCounts, _logLines = 4, nil, nil
|
|||
local function _log(level, prefix, text, ...)
|
||||
if LOG_LEVEL >= level then
|
||||
local text = prefix .. text
|
||||
print(text, ...)
|
||||
if level ~= 4 then
|
||||
print(text, ...)
|
||||
end
|
||||
table.insert(_logLines, text)
|
||||
end
|
||||
_logCounts[level] = _logCounts[level] + 1
|
||||
|
|
Loading…
Reference in a new issue