Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Test adding multiple formatter
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-06-02 13:59:02


AMDG

Gennadiy Rozental wrote:
> Steven Watanabe <watanabesj <at> gmail.com> writes:
>
>> Gaurav N Shah wrote:
>>
>>> But What if I want to add more than one formatter??
>>> let's say XML and my own!!!
>>> What is the work around to achieve this??
>>>
>>>
>> You'd need to create a formatter that forwards to several other formatters.
>>
>
> Not sure I understand purpose of multiple formatters. Do not forget: there is
> only one sink.
>

Assuming that all output goes through the formatter,
it could act like a tee.

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net