mozilla-services/powerhose — Issue #5: Don't write to cerr or stdout from library code
Author: indygreg
Created: 2012-03-01 22:46:30+00:00
State: open

You should never write directly to cerr or cout from within a library. Instead, pass a ::std::ostream or something to your class constructor (or maintain a static instance in the class). At library run-time, you can assign cout, etc to this.