fix: replace logger's LogLevel with import
This commit is contained in:
parent
b239a1f641
commit
6c89c2d352
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user