@ -17,8 +17,6 @@
-- On Debian systems, the complete text of the GNU General
-- On Debian systems, the complete text of the GNU General
-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
--
--
local logging = require ( ' logging ' )
local log_file = require ( ' logging.file ' )
-- Lua utils
-- Lua utils
local utils = { }
local utils = { }
utils.table = { }
utils.table = { }
@ -469,6 +467,8 @@ end
utils.Stack = Stack
utils.Stack = Stack
function utils . KSR_log ( KSR , logfile )
function utils . KSR_log ( KSR , logfile )
local logging = require ( ' logging ' )
local log_file = require ( ' logging.file ' )
-- KSR has already the metatable
-- KSR has already the metatable
if KSR._logger then
if KSR._logger then
KSR._logger = log_file ( logfile , " %Y-%m-%d " )
KSR._logger = log_file ( logfile , " %Y-%m-%d " )