Changeset 12863 for trunk/Mars


Ignore:
Timestamp:
02/08/12 10:25:40 (13 years ago)
Author:
tbretz
Message:
Improved some logging output.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mfileio/MWriteRootFile.cc

    r9576 r12863  
    159159        }
    160160
    161         *fLog << inf3 << "New file '" << name << "' ";
     161        *fLog << inf3 << "File '" << name << "' ";
    162162        if (!TString(title).IsNull())
    163163            *fLog << "<Title=" << title << "> ";
    164         *fLog << "created." << endl;
     164        *fLog << "opened [" << option << "]" << endl;
    165165
    166166        file->SetOption(option); // IMPORTANT!
     
    798798    if (newfile && newfile==fOut)
    799799    {
    800         *fLog << inf << "Found open file " << fname << "... using." << endl;
     800        *fLog << inf << "Found open file '" << fname << "'... using." << endl;
    801801        return kTRUE;
    802802    }
    803803    if (!newfile)
    804804    {
    805         *fLog << err << "ERROR - Cannot open new file " << fname << endl;
     805        *fLog << err << "ERROR - Cannot open new file '" << fname << "'" << endl;
    806806         return kFALSE;
    807807    }
Note: See TracChangeset for help on using the changeset viewer.