import { Logger } from '@nestjs/common' ; export class ProductWasAddedEvent { public constructor ( public readonly name , public readonly sku , public readonly price , public readonly currency ) { Logger . log ( 'ProductWasAddedEvent called' ) ; } }