VERB_code_2.3
Output.cpp File Reference

Logging and screen output function defenitions. see namespace Output for details. More...

#include "Output.h"

Go to the source code of this file.

Namespaces

 Output
 functions for write log and support files. Functions are defined in Output.h and descripted in Output.cpp
 

Functions

void Output::open_log_file (string filename)
 Open file stream for log file. More...
 
void Output::close_log_file ()
 Close file stream for log file.
 
void Output::flush_log_file ()
 flush file stream for log file
 
void Output::set_output_lvl (int new_outputLvl)
 Set the verbose level until redefine. More...
 
void Output::echo (int msglvl, const char *format,...)
 Basic function! Write the message to the file. More...
 

Variables

ofstream Output::log_file
 stream for log file defined in namespase Output
 
int Output::outputLvl = 0
 verbose level defined in namespase Output
 

Detailed Description

Logging and screen output function defenitions. see namespace Output for details.

Todo:
  • Rewrite type conversion functions as "any to string" and organize them.
  • Move all headers to the header files and code to cpp files (if it is possible everywhere).
  • Rewrite all output with streams insted of old-c functions.
Author
Developed by Dmitry Subbotin under supervision of the PI Yuri Shprits

Definition in file Output.cpp.