Program: gdcm
Module: $RCSfile: gdcmDebug.cxx,v $
Language: C++
- Date: $Date: 2004/10/13 14:15:29 $
- Version: $Revision: 1.9 $
+ Date: $Date: 2004/10/15 10:43:27 $
+ Version: $Revision: 1.10 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
{
return ;
}
- std::cerr << "gdcm::" << msg1 << ' ' << msg2 << std::endl;
+ std::cerr << "gdcm::" << msg1 << ' ' << msg2 << std::endl << std::flush;
}
/**
{
return;
}
- std::cerr << "gdcm::" << msg1 << ' ' << msg2 << std::endl;
+ std::cerr << "gdcm::" << msg1 << ' ' << msg2 << std::endl << std::flush;
Exit(1);
}
void Debug::Error(const char* msg1, const char* msg2,
const char* msg3)
{
- std::cerr << "gdcm::" << msg1 << ' ' << msg2 << ' ' << msg3 << std::endl;
+ std::cerr << "gdcm::" << msg1 << ' ' << msg2 << ' ' << msg3
+ << std::endl << std::flush;
Exit(1);
}
}
if (!test)
{
- std::cerr << "gdcm::" << msg1 << ' ' << msg2 << std::endl;
+ std::cerr << "gdcm::" << msg1 << ' ' << msg2
+ << std::endl << std::flush;
}
}