EventAnalysis  1.3.0
Classes | Namespaces | Functions | Variables
SmartLog.cpp File Reference
#include "utils/SmartLog.h"
#include <fstream>

Classes

class  EA::SmartLog::FilesProxy
 

Namespaces

 EA
 IncludeFileExc.h IncludeFileExc class declaration.
 
 EA::SmartLog
 

Functions

std::string EA::SmartLog::Format (const std::string &str, size_t maxLength)
 Format a string so that its length is less or equal to maxLength. More...
 
void EA::SmartLog::MuteOutput ()
 Mutes the console output. More...
 
void EA::SmartLog::UnmuteOutput ()
 Unmutes the console output. More...
 

Variables

FILE * EA::SmartLog::stdoutSave = NULL
 
FILE * EA::SmartLog::stderrSave = NULL
 
std::streambuf * EA::SmartLog::cout_sbuf = NULL
 
std::streambuf * EA::SmartLog::cerr_sbuf = NULL
 
FilesProxy EA::SmartLog::muteFiles
 
bool EA::SmartLog::isMuted = false
 

Detailed Description

SmartLog utilities and globals.