33 std::string pathstr(
"./");
38 if (pathstr[pathstr.size()] !=
'/') {
39 pathstr = pathstr+
"/";
43 osstr << pathstr <<
"fei_log."<<counter_<<
"."<<nprocs<<
"."<<localproc;
50 if (output_stream_ == NULL || output_stream_->bad()) {
52 delete output_stream_;
59 return( output_stream_ );
64 delete output_stream_;
void openOutputStream(const char *path=NULL, int nprocs=1, int localproc=0)
FEI_OSTREAM * getOutputStream()
std::ostream & console_out()
static LogFile & getLogFile()
#define FEI_OSTRINGSTREAM