import { Reporter } from 'tachyon-spade-reporter/reporter';

export class MultiReporter implements Reporter {
  constructor(private loggers: Reporter[]) {}

  public reportEvent(event: any): void {
    this.loggers.forEach(eventLogger => {
      eventLogger.reportEvent(event);
    });
  }
}
