Configuration
Default configuration keys for @quik/logging. See Config Keys and Environment Variables for the full generated table.
logs.enabled(LOGS_ENABLED) — whenfalse, the module forcesQLoggerType.NO_LOGGERregardless oflogs.type.logs.type(LOGGER_TYPE, defaultconsole) — one of theQLoggerTypevalues:console,file,json,json_file,no_logger.getLoggerByType()currently only special-casesjsonandno_logger; any other value (includingfile/json_file) resolves to the console logger.logs.level(LOG_LEVEL, defaultdebug) — standard Winston levels (error,warn,info,verbose,debug,silly); messages below the configured level are discarded.logs.file(LOG_FILE, defaultapp.log) andlogs.folder(LOG_FOLDER, default./storage/logs) are declared in defaults but are only meaningful to file-based logger types.
CLI runs
When IQModuleSetup.isCli is true, the module always builds a QConsoleLogger (ignoring logs.type), using
DEBUG/SILLY from logs.level if set, or INFO otherwise, formatted with Winston's format.cli().