Schnek
schnek::Logger Class Reference

#include <logger.hpp>

Inheritance diagram for schnek::Logger:
Collaboration diagram for schnek::Logger:

Public Member Functions

std::ostream & out ()
 
std::ostream & err ()
 

Friends

class Singleton< Logger >
 
class CreateUsingNew< Logger >
 

Additional Inherited Members

- Static Public Member Functions inherited from schnek::schnek::Singleton< Logger >
static Loggerinstance ()
 
- Protected Member Functions inherited from schnek::schnek::Singleton< Logger >
 ~Singleton ()
 

Detailed Description

Instance of the logger singleton used for logging debug and error messages.

The logger provides a std::ostream for error messages and for other messages. These are provided by the methods out and err. Currently they are implemented to return the std::cout and std::cerr streams.

Member Function Documentation

◆ err()

std::ostream& schnek::Logger::err ( )
inline

Return the ostream for writing error messages.

Currently implemented to return std::cerr

◆ out()

std::ostream& schnek::Logger::out ( )
inline

Return the ostream for writing standard debug comments.

Currently implemented to return std::cout


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