Skip to content

Commit b496518

Browse files
Merge pull request #3023 from albasyir/patch-2
docs(): add importing injectable module
2 parents a2731f8 + 9aa5501 commit b496518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/techniques/logger.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ await app.listen(3000);
5151
Implementing your own custom logger is straightforward. Simply implement each of the methods of the `LoggerService` interface as shown below.
5252

5353
```typescript
54-
import { LoggerService } from '@nestjs/common';
54+
import { LoggerService, Injectable } from '@nestjs/common';
5555

5656
@Injectable()
5757
export class MyLogger implements LoggerService {

0 commit comments

Comments
 (0)