96     template<
typename... Args>
    98                     const std::string& format,
   113                     const std::string& message);
   118     static void error(
const std::string& errorMessage);
   142                                       const std::string& delimiters,
   143                                       const int          indentation = 0,
   144                                       const int          lineSize    = 65);
   156     template<
typename ... Args>
   161       size_t size = snprintf(
nullptr, 0, format.c_str(), args ... ) + 1; 
   163       std::unique_ptr<char[]> buf(
new char[size]);
   164       snprintf(buf.get(), size, format.c_str(), args ... );
   165       return std::string(buf.get(), buf.get() + size - 1 ); 
   176     static std::string 
getWord(std::istringstream& textStream,
   177                                const std::string&  delimiters);
 static void setLevel(const LogLevel actualLogLevel)
Set the log level. 
 
static LogLevel slogLevel
Log level of the logger. 
 
static std::string getWord(std::istringstream &textStream, const std::string &delimiters)
Extract a word from a string stream based on delimiters. 
 
static void log(const LogLevel queryLevel, const std::string &format, Args ... args)
Log desired activity for a given log level, version with string format. 
 
Static class implementing the user interface by info messages. 
 
Advanced level of verbosity. 
 
static std::string wordWrapString(const std::string &inputString, const std::string &delimiters, const int indentation=0, const int lineSize=65)
 
static void flush(const LogLevel queryLevel)
Flush output messages. 
 
~Logger()=delete
Destructor is not allowed, static class. 
 
static void errorAndTerminate(const std::string &errorMessage)
Log an error and terminate the execution. 
 
LogLevel
Log level of the message. 
 
static std::string formatMessage(const std::string &format, Args ... args)
C++-11 replacement for sprintf that works with std::string instead of char*. 
 
The header file containing routines for error messages and error messages common for both linux and w...
 
The header file including output messages based on the operating system. 
 
static LogLevel getLevel()
 
Basic (default) level of verbosity. 
 
Logger & operator=(const Logger &)=delete
Operator= is not allowed, static class. 
 
static void error(const std::string &errorMessage)
Log an error. 
 
Logger()=delete
Default constructor is not allowed, static class.