Boost logo

Boost Users :

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


AMDG

Gaurav N Shah wrote:
> We can add custom formatter to Boost.Test by:
> boost::unit_test_log.set_formatter(new Formtter);
>
> 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.

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