diff --git a/src/logger.ts b/src/logger.ts index f0e9b4f..2ab9f1f 100644 --- a/src/logger.ts +++ b/src/logger.ts @@ -1,10 +1,8 @@ -import { Logger } from "@nestjs/common"; +import { Logger, LogLevel } from "@nestjs/common"; import * as hyperid from 'hyperid'; const createId = hyperid({ fixedLength: true }) -type LogLevel = "debug" | "log" | "warn" | "verbose" | "error" | "fatal"; - export class ScopedLogger extends Logger { constructor( private logger: Logger,