VERB_code_2.3
Output.h File Reference

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

#include <string.h>
#include <stdarg.h>
#include <sstream>
#include <fstream>
#include <iostream>
#include <ctime>
#include <time.h>
#include "../Exceptions/error.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
 

Macros

#define OUTPUT_H
 Check if OUTPUT_H is defined, to not include the class more then one time.
 

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::echo (int msglvl, const char *format,...)
 Basic function! Write the message to the file. More...
 
void Output::set_output_lvl (int new_outputLvl)
 Set the verbose level until redefine. More...
 

Detailed Description

Logging and screen output. see namespace Output for details.

The file provide output functions. Output usually goes to a screen and a file simultaniously.

Todo:
  • Find out what is the maximum level of the message
Author
Developed under supervision of the PI Yuri Shprits

Definition in file Output.h.