CAPD::DynSys Library  6.0.0
logger_deprecated.h File Reference

This file contains definition of some output streams that can be used instead the standard ones (sout, serr) which support logging to a file or suppressing messages to the screen. More...

Namespaces

 capd
 

Macros

#define CAPD_OUTPUTSTREAM
 This symbol is defined if the "OutputStream" class is available, and the basic streams like "sout" are defined. More...
 

Enumerations

enum  capd::LogLevel {
  capd::Silent , capd::ProgresIdicators , capd::LogLevel1 , capd::LogLevel2 ,
  capd::LogLevel3 , capd::Debug , capd::LogAll
}
 Defines how much output will be displayed to the screen (or default output stream) and also saved to log files. More...
 

Functions

void capd::setLogLevel (LogLevel level)
 

Variables

extern ::capd::auxil::OutputStream capd::sout
 A replacement for standard output stream, with optional logging and other features provided by the class 'OutputStream'. More...
 
extern ::capd::auxil::OutputStream capd::scon
 The console output stream to which one should put all the junk that spoils the log file, like progress indicators. More...
 
extern ::capd::auxil::OutputStream capd::serr
 A wrapper for the standard error stream. More...
 
extern ::capd::auxil::OutputStream capd::slog
 The output stream to which one can send messages for logging only. Those messages are not shown to the standard output and are ignored if the log file is not in use. More...
 
extern ::capd::auxil::OutputStream capd::slog2
 Another logging stream. More...
 
extern ::capd::auxil::OutputStream capd::slog3
 Another logging stream. More...
 
extern ::capd::auxil::OutputStream capd::sbug
 An output stream for writing additional debug messages. This stream is turned off by default. More...
 
extern ::capd::auxil::OutputStream capd::sseq
 An auxiliary stream which captures sequences of processed data. More...
 

Detailed Description

This file contains definition of some output streams that can be used instead the standard ones (sout, serr) which support logging to a file or suppressing messages to the screen.

Author
Pawel Pilarczyk, Marian Mrozek, Tomasz Kapela

Macro Definition Documentation

◆ CAPD_OUTPUTSTREAM

#define CAPD_OUTPUTSTREAM

This symbol is defined if the "OutputStream" class is available, and the basic streams like "sout" are defined.