TB2::Formatter::Multi - Use multiple formatters at once
use TB2::Formatter::Multi; my $multi = TB2::Formatter::Multi->new; $multi->add_formatters($this_formatter, $that_formatter); # Equivalent to # $this_formatter->handle_result($result, $ec); # $that_formatter->handle_result($result, $ec); $multi->handle_result($result, $ec);
This is a formatter which allows you to use multiple formatters at the same time. It does no work on its own but passes it on to its list of formatters. You might want this to store the results as TAP while also writing them out as HTML.
A Multi instance does not have a streamer of its own.
This has all the normal methods of a Formatter plus...
Gets/sets the list of Formatter objects to multiplex to.
A convenience method to add @formatters to