-
Notifications
You must be signed in to change notification settings - Fork 3
Logger
Nameless edited this page Apr 13, 2019
·
6 revisions
local luvit_reql = require('luvit-reql')
local logger = luvit_reql.logger()
Sets the output file
Hard errors, logging data in red and ending the process
Soft errors, logging data in red and not ending the process
Soft warns, logging data in orange and not ending the process
Spits out data in blue
Spits out data in yellow
Works like the assert()
function in vanilla lua, except uses the harderr method