Simple implementation of a log which just prints the logs on std::cout and std::cerr. More...
#include <LogBinding.h>
Protected Member Functions | |
virtual void | implPrint (const std::stringstream &str) |
virtual void | implPrint (const char *str) |
virtual void | implPrintError (const std::stringstream &str) |
virtual void | implPrintError (const char *str) |
virtual void | implPrintWarn (const std::stringstream &str) |
virtual void | implPrintWarn (const char *str) |
virtual void | printNewLine (bool errorStream) |
Simple implementation of a log which just prints the logs on std::cout and std::cerr.
Definition at line 163 of file LogBinding.h.
virtual void logger_binding::StdLog::implPrint | ( | const std::stringstream & | str | ) | [inline, protected, virtual] |
Implements logger_binding::Log.
Definition at line 166 of file LogBinding.h.
virtual void logger_binding::StdLog::implPrint | ( | const char * | str | ) | [inline, protected, virtual] |
Implements logger_binding::Log.
Definition at line 179 of file LogBinding.h.
virtual void logger_binding::StdLog::implPrintError | ( | const std::stringstream & | str | ) | [inline, protected, virtual] |
Implements logger_binding::Log.
Definition at line 170 of file LogBinding.h.
virtual void logger_binding::StdLog::implPrintError | ( | const char * | str | ) | [inline, protected, virtual] |
Implements logger_binding::Log.
Definition at line 183 of file LogBinding.h.
virtual void logger_binding::StdLog::implPrintWarn | ( | const std::stringstream & | str | ) | [inline, protected, virtual] |
Implements logger_binding::Log.
Definition at line 174 of file LogBinding.h.
virtual void logger_binding::StdLog::implPrintWarn | ( | const char * | str | ) | [inline, protected, virtual] |
Implements logger_binding::Log.
Definition at line 187 of file LogBinding.h.
virtual void logger_binding::StdLog::printNewLine | ( | bool | errorStream | ) | [inline, protected, virtual] |
Subclasses which do NOT automatically make a new line in implPrint* functions need to implement the printing of a new line in this function.
errorStream | set to true if the new line is to be printed in the error stream. Otherwise is printed to the standard stream. |
Implements logger_binding::Log.
Definition at line 193 of file LogBinding.h.