From 6c89c2d352ab1f4b3128ba42662b0658d596cf21 Mon Sep 17 00:00:00 2001 From: Shinwoo PARK Date: Tue, 18 Mar 2025 20:09:02 +0900 Subject: [PATCH] fix: replace logger's LogLevel with import --- src/logger.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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,