mirror of
https://github.com/gmod-integration/lua.git
synced 2025-06-16 04:24:24 +00:00
fix: format log
This commit is contained in:
parent
7442efd6f5
commit
2cadfc343a
|
@ -1,6 +1,6 @@
|
||||||
local function getTimeStamp()
|
local function getTimeStamp()
|
||||||
if !gmInte.config.debug then return "" end
|
if !gmInte.config.debug then return "" end
|
||||||
return os.date(gmInte.config.logTimestamp || "%Y-%m-%d %H:%M:%S")
|
return " | " .. os.date(gmInte.config.logTimestamp || "%Y-%m-%d %H:%M:%S")
|
||||||
end
|
end
|
||||||
|
|
||||||
function gmInte.log(msg, debug)
|
function gmInte.log(msg, debug)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user