import { LoggerService } from '@fc/logger' ; import { MailOptions , Transport } from '../interfaces' ; export class StdoutTransport implements Transport { constructor ( private readonly logger ) { } async send ( params ) { this . logger . debug ( `Printing mail to console: ${ JSON . stringify ( params , null , 2 ) }` ) ; this . logger . trace ( { text : 'Printing mail to console' , params , } ) ; return Promise . resolve ( true ) ; } }