MCPcopy
hub / github.com/nestjs/nest / CustomLogger

Class CustomLogger

packages/common/test/services/logger.service.spec.ts:361–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359 });
360 describe('when custom logger is being used', () => {
361 class CustomLogger implements LoggerService {
362 log(message: any, context?: string) {}
363 error(message: any, trace?: string, context?: string) {}
364 warn(message: any, context?: string) {}
365 }
366
367 const customLogger = new CustomLogger();
368 let previousLoggerRef: LoggerService;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected