We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e156f4a commit f551decCopy full SHA for f551dec
examples/nestjs/src/main.ts
@@ -1,6 +1,5 @@
1
import { installRunnable } from '@runnablejs/express';
2
import { NestFactory } from '@nestjs/core';
3
-import { Logger } from '@nestjs/common';
4
import { AppModule } from './app.module';
5
6
async function bootstrap() {
@@ -12,8 +11,8 @@ async function bootstrap() {
12
11
installRunnable(app.getHttpServer()._events.request, actions, context);
13
14
await app.listen(process.env.PORT || 3007);
15
- const logger = app.get(Logger);
16
- logger.log(`Application is running on: ${await app.getUrl()}/admin`);
+ // eslint-disable-next-line no-console
+ console.log(`Application is running on: ${await app.getUrl()}/admin`);
17
}
18
19
bootstrap();
0 commit comments