overextended/ox_lib

[Suggestion] ox print in cron

Opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
Ox_lib has a cool console printing mechanism. Maybe it would be useful to use lib.print.debug in Cron as a default debug mechanism?

Describe the solution you'd like
Use in Cron lib.print.debug when no debug parameter is specified.

Additional context
It might also be worth adding an export on the resourcePrintLevel.

local resourcePrintLevel = printLevel[GetConvar('ox:printlevel:' .. cache.resource, GetConvar('ox:printlevel', 'info'))]