mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-16 05:57:35 +00:00
debug debug.traceback()
This commit is contained in:
parent
8e2d314fc9
commit
328f446c6d
|
@ -12,5 +12,5 @@ end
|
||||||
function gmInte.logError(msg, debug)
|
function gmInte.logError(msg, debug)
|
||||||
if (debug && !gmInte.config.debug) then return end
|
if (debug && !gmInte.config.debug) then return end
|
||||||
print("[" .. os.date("%Y-%m-%d %H:%M:%S") .. "] [Gmod Integration] [ERROR] " .. msg)
|
print("[" .. os.date("%Y-%m-%d %H:%M:%S") .. "] [Gmod Integration] [ERROR] " .. msg)
|
||||||
print(debug.traceback())
|
debug && print(debug.traceback())
|
||||||
end
|
end
|
Loading…
Reference in New Issue
Block a user