Skip to content

Commit 28e58fe

Browse files
committed
docs : fix readme
1 parent 9645d7e commit 28e58fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ import { LoggerModule } from '@hoplin/nestjs-logger';
9696
imports: [LoggerModule.forFeature()]
9797

9898
...
99+
import { Logger } from '@hoplin/nestjs-logger';
99100

100101
// example.service.ts
101102
@Injectable()
@@ -109,7 +110,7 @@ If you want to log to console about every request, use [`FlowInterceptor`](./src
109110
110111
```typescript
111112
// main.ts
112-
import { FlowInterceptor } from './logger/logger.interceptor';
113+
import { FlowInterceptor } from '@hoplin/nestjs-logger';
113114

114115
async function bootstrap() {
115116
const app = await NestFactory.create(AppModule);

0 commit comments

Comments
 (0)