Log levels added
This commit is contained in:
parent
f111702c7c
commit
9d1d143e06
1 changed files with 3 additions and 1 deletions
|
|
@ -4,7 +4,9 @@ import { AppModule } from './app.module';
|
|||
process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = "0";
|
||||
|
||||
async function bootstrap() {
|
||||
const app = await NestFactory.create(AppModule);
|
||||
const app = await NestFactory.create(AppModule, {
|
||||
logger: ['debug', 'error', 'warn', 'log', 'verbose'],
|
||||
});
|
||||
await app.listen(process.env['PORT'] || 3000);
|
||||
}
|
||||
bootstrap();
|
||||
|
|
|
|||
Loading…
Reference in a new issue