overextended / ox_lib

A FiveM resource and script library for Lua and JS.
https://overextended.dev/ox_lib
GNU Lesser General Public License v3.0
305 stars 406 forks source link

[Suggestion] ox print in cron #593

Open ArturMichalak opened 3 months ago

ArturMichalak commented 3 months ago

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. https://github.com/overextended/ox_lib/blob/01334799f00499544c34abd0ba9d560ff855ef0d/imports/print/shared.lua#L18