change _debug to _syslog

This commit is contained in:
kepler155c@gmail.com
2019-05-03 15:30:09 -04:00
parent 59552d4217
commit c44dc765da
6 changed files with 22 additions and 26 deletions

View File

@@ -85,7 +85,7 @@ return function (fn, ...)
end
for _, line in pairs(trace) do
_G._debug(line)
_G._syslog(line)
end
-- If this traceback is more than 15 elements long, keep the first 9, last 5