Merge remote-tracking branch 'origin/topic/robin/log-threads' into topic/bernhard/log-threads

This commit is contained in:
Bernhard Amann 2012-02-13 02:30:24 -08:00
commit 8a6dfee00c
36 changed files with 414 additions and 304 deletions

View file

@ -1165,6 +1165,15 @@ bool Manager::Flush(EnumVal* id)
return true;
}
void Manager::Terminate()
{
for ( vector<Stream *>::iterator s = streams.begin(); s != streams.end(); ++s )
{
if ( *s )
Flush((*s)->id);
}
}
void Manager::Error(WriterFrontend* writer, const char* msg)
{
reporter->Error("error with writer for %s: %s",