import { Injectable , Logger } from '@nestjs/common' ; @ Injectable ( ) export class AwsLogger extends Logger { error ( message , trace ) { super . error ( message , trace ) ; } log ( message , trace ) { super . log ( message , trace ) ; } }