Protected Member Functions
logger_binding::StdLog Class Reference

Simple implementation of a log which just prints the logs on std::cout and std::cerr. More...

#include <LogBinding.h>

Inheritance diagram for logger_binding::StdLog:
Inheritance graph
[legend]

List of all members.

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)

Detailed Description

Simple implementation of a log which just prints the logs on std::cout and std::cerr.

Author:
Jennifer Buehler
Date:
December 2015

Definition at line 163 of file LogBinding.h.


Member Function Documentation

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.

Parameters:
errorStreamset 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.


The documentation for this class was generated from the following file:


logger_binding
Author(s): Jennifer Buehler
autogenerated on Sat Mar 2 2019 03:21:43