//#region src/cli/cli-log-level-preset.ts
/**
* Default the CLI console to `warn` when no log level is set, so routine `info`
* output (extensions, diagnostics, etc.) does not clutter the terminal.
* Opt in with `XOPC_LOG_LEVEL`, `LOG_LEVEL`, `DEBUG`, or `--verbose` / `-v`.
* This module must load before any import of `../utils/logger.js`.
*/
const env = process.env;
if (!env.VITEST && !env.TEST && !env.XOPC_LOG_LEVEL && !env.LOG_LEVEL && !env.DEBUG && !process.argv.includes("--verbose") && !process.argv.includes("-v")) env.XOPC_LOG_LEVEL = "warn";
//#endregion
export {};

//# sourceMappingURL=cli-log-level-preset.js.map