File

util/time.lua @ 8227:325371632fe6

loggingmanager: Slight cleanup and optimization of file sink
author Waqas Hussain <waqas20@gmail.com>
date Sun, 10 Sep 2017 13:13:24 -0400
parent 7461:72e48bddf617
line wrap: on
line source

-- Import gettime() from LuaSocket, as a way to access high-resolution time
-- in a platform-independent way

local socket_gettime = require "socket".gettime;

return {
	now = socket_gettime;
}