VERB_code_2.3
Output.h
Go to the documentation of this file.
1 
14 #ifndef OUTPUT_H
15 
18 #define OUTPUT_H
19 
20 #include <string.h>
21 #include <stdarg.h>
22 #include <sstream>
23 #include <fstream>
24 #include <iostream>
25 
26 // deprecated ??? (it was defined in main.cpp)
27 #include <ctime>
28 #include <time.h>
29 
30 // include functions, provided exceptions handling
31 #include "../Exceptions/error.h"
32 
37 namespace Output {
38 
39 
42  void open_log_file(string filename);
43 
45  void close_log_file();
46 
48  void flush_log_file();
49 
54  void echo(int msglvl, const char * format, ... );
55 
58  void set_output_lvl(int new_outputLvl);
59 
60 }
61 
62 #endif
void set_output_lvl(int new_outputLvl)
Set the verbose level until redefine.
Definition: Output.cpp:40
functions for write log and support files. Functions are defined in Output.h and descripted in Output...
Definition: Output.cpp:15
void echo(int msglvl, const char *format,...)
Basic function! Write the message to the file.
Definition: Output.cpp:44
void open_log_file(string filename)
Open file stream for log file.
Definition: Output.cpp:23
void flush_log_file()
flush file stream for log file
Definition: Output.cpp:36
void close_log_file()
Close file stream for log file.
Definition: Output.cpp:32