Changing logger service to be default scope
This commit is contained in:
parent
91271cdc4b
commit
014e47e5cf
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { ConsoleLogger, Injectable, Scope } from '@nestjs/common'
|
||||
import { ConsoleLogger, Injectable } from '@nestjs/common'
|
||||
|
||||
@Injectable({ scope: Scope.REQUEST })
|
||||
@Injectable()
|
||||
export class LoggerService extends ConsoleLogger {
|
||||
log(message: any, ...optionalParams: any[]) {
|
||||
super.log(message, ...optionalParams)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue