add sink that append to an std::ostream &