mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
19 lines
389 B
TypeScript
19 lines
389 B
TypeScript
import { ConsoleLogger } from '@nestjs/common';
|
|
|
|
/**
|
|
* @publicApi
|
|
*/
|
|
export class TestingLogger extends ConsoleLogger {
|
|
constructor() {
|
|
super('Testing');
|
|
}
|
|
|
|
log(message: string) {}
|
|
warn(message: string) {}
|
|
debug(message: string) {}
|
|
verbose(message: string) {}
|
|
error(message: string, ...optionalParams: any[]) {
|
|
return super.error(message, ...optionalParams);
|
|
}
|
|
}
|