We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3791af4 commit 213eb78Copy full SHA for 213eb78
src/main.ts
@@ -12,6 +12,9 @@ async function bootstrap() {
12
if (process.env.LOG_LEVEL == "debug") {
13
logLevels = ["verbose"];
14
}
15
+ if (process.env.LOG_LEVEL == "warn") {
16
+ logLevels = ["warn"];
17
+ }
18
19
const app = await NestFactory.create(RandomExampleProviderModule, { logger: logLevels });
20
app.use(helmet());
0 commit comments