17 lines
524 B
TypeScript
17 lines
524 B
TypeScript
import { Logger } from "@nestjs/common";
|
|
export declare class ScopedLogger extends Logger {
|
|
private logger;
|
|
private scope;
|
|
private root;
|
|
scopeId?: string;
|
|
constructor(logger: Logger, scope: string, root?: boolean);
|
|
addScope(scopeId: string): void;
|
|
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;
|
|
}
|