Skip to content

Commit 75383ce

Browse files
Update content/techniques/logger.md
1 parent baee94b commit 75383ce

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

content/techniques/logger.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ You can also inject this `MyLogger` provider in your feature classes, thus ensur
148148

149149
We can combine several of the techniques above to provide consistent behavior and formatting across both Nest system logging and our own application event/message logging.
150150

151-
The best practice is to instantiate `Logger` class from `@nestjs/common` in each of our services.
152-
We can supply our service name as the `context` argument in the `Logger` constructor, like so:
151+
A good practice is to instantiate `Logger` class from `@nestjs/common` in each of our services. We can supply our service name as the `context` argument in the `Logger` constructor, like so:
153152

154153
```typescript
155154
import { Logger, Injectable } from '@nestjs/common';

0 commit comments

Comments
 (0)