VERB_code_2.2
2
|
functions for write log and support files. Functions are defined in Output.h and descripted in Output.cpp More...
Functions | |
void | open_log_file (string filename) |
Open file stream for log file. More... | |
void | close_log_file () |
Close file stream for log file. More... | |
void | flush_log_file () |
flush file stream for log file More... | |
void | set_output_lvl (int new_outputLvl) |
Set the verbose level until redefine. More... | |
void | echo (int msglvl, const char *format,...) |
Basic function! Write the message to the file. More... | |
Variables | |
ofstream | log_file |
stream for log file defined in namespase Output More... | |
int | outputLvl = 0 |
verbose level defined in namespase Output More... | |
functions for write log and support files. Functions are defined in Output.h and descripted in Output.cpp
void Output::open_log_file | ( | string | filename) |
Open file stream for log file.
filename | - name of log file |
Definition at line 23 of file Output.cpp.
References log_file.
void Output::close_log_file | ( | ) |
void Output::flush_log_file | ( | ) |
void Output::set_output_lvl | ( | int | new_outputLvl) |
Set the verbose level until redefine.
new_outputLvl | - verbose level |
Definition at line 40 of file Output.cpp.
References outputLvl.
void Output::echo | ( | int | msglvl, |
const char * | format, | ||
... | |||
) |
Basic function! Write the message to the file.
msglvl | - verbose level for the message from 0 to 3 |
format | - sprintf format for the output string |
... | - variables used for format string |
Definition at line 44 of file Output.cpp.
ofstream Output::log_file |
stream for log file defined in namespase Output
Definition at line 18 of file Output.cpp.
int Output::outputLvl = 0 |
verbose level defined in namespase Output
Definition at line 21 of file Output.cpp.