Fixed broken log aliases

develop
Jef Roosens 2020-12-28 15:44:58 +01:00
parent 855385ccbe
commit 122f873015
1 changed files with 5 additions and 5 deletions

View File

@ -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()