Fixed broken log aliases
parent
855385ccbe
commit
122f873015
10
jlib/log.lua
10
jlib/log.lua
|
@ -74,11 +74,11 @@ function Logger:log(level, message)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Just some convenience functions; wrappers around Logger:log
|
-- Just some convenience functions; wrappers around Logger:log
|
||||||
function Logger:critical(message) self.log(0, message) end
|
function Logger:critical(message) self:log(0, message) end
|
||||||
function Logger:error(message) self.log(1, message) end
|
function Logger:error(message) self:log(1, message) end
|
||||||
function Logger:warning(message) self.log(2, message) end
|
function Logger:warning(message) self:log(2, message) end
|
||||||
function Logger:info(message) self.log(3, message) end
|
function Logger:info(message) self:log(3, message) end
|
||||||
function Logger:debug(message) self.log(4, message) end
|
function Logger:debug(message) self:log(4, message) end
|
||||||
|
|
||||||
-- Close the logger a.k.a. close the log file handler
|
-- Close the logger a.k.a. close the log file handler
|
||||||
function Logger:close()
|
function Logger:close()
|
||||||
|
|
Loading…
Reference in New Issue