shorter log message timestamps
This commit is contained in:
parent
78225a8cf4
commit
e8b8dfde5b
@ -40,7 +40,7 @@ local function _log(msg_bits)
|
|||||||
if logger.not_ready then return end
|
if logger.not_ready then return end
|
||||||
|
|
||||||
local out_of_space = false
|
local out_of_space = false
|
||||||
local time_stamp = os.date("[%c] ")
|
local time_stamp = os.date("%F %T ")
|
||||||
local stamped = util.c(time_stamp, table.unpack(msg_bits))
|
local stamped = util.c(time_stamp, table.unpack(msg_bits))
|
||||||
|
|
||||||
-- attempt to write log
|
-- attempt to write log
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user