Skip to content
Snippets Groups Projects
Commit ab43037f authored by Mark Woolrich's avatar Mark Woolrich
Browse files

*** empty log message ***

parent 9dd8f179
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,13 @@ namespace Utilities{
/** returns passed in filename appended onto the end of the dir name */
const string appendDir(const string& filename) const;
inline void flush() { logfileout.flush();}
inline void flush() {
if(stream_to_logfile)
logfileout.flush();
if(stream_to_cout)
cout.flush();
}
/** allows streaming into cout and/or logfile depending upon the */
/** stream_to_cout and stream_to_logfile respectively */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment