import { initLogger } from "../logger.js";
export async function logLevel(argv) {
    const level = argv.verbose === 1
        ? "warn"
        : argv.verbose === 2
            ? "info"
            : argv.verbose === 3
                ? "debug"
                : "silent";
    if (level === "debug") {
        process.env.ZENO_DEBUG = "true";
    }
    initLogger({ level });
}
//# sourceMappingURL=logging.js.map