A powerful, flexible logging utility for Orion.js applications
error
: For error conditionswarn
: For warning conditionsinfo
: For informational messagesdebug
: For debugging informationORION_DEV=1
environment variable is setlogger.addContext(module)
at the top of your files to automatically include file information.
debug
: Detailed information useful during developmentinfo
: Normal application behavior, milestoneswarn
: Unexpected but handled issueserror
: Errors that prevent proper operation