nestlogged/dist/lib/logger.d.ts
2024-03-31 20:43:35 +09:00

17 lines
631 B
TypeScript

import { Logger } from "@nestjs/common";
export declare class ScopedLogger extends Logger {
private logger;
private scope;
private scopeId;
constructor(logger: Logger, scope: string[], scopeId?: string);
private scopedLog;
debug: (message: string) => void;
log: (message: string) => void;
warn: (message: string) => void;
verbose: (message: string) => void;
error: (message: string) => void;
fatal: (message: string) => void;
static fromSuper(baseLogger: Logger, logger: ScopedLogger, scope: string): ScopedLogger;
static fromRoot(logger: Logger, scope: string): ScopedLogger;
}