All Classes Namespaces Functions Variables Enumerations Enumerator Pages
Public Member Functions | List of all members
logs::Logger Class Reference

A wrapper logger class which automatically writes a service "prompt" to the log messages. Given a certain custom <prompt> string, every message <msg> will be print on output with the following format: $ [timestamp prompt] msg where the timestamp is made by date and hours. More...

#include <logs.h>

Public Member Functions

 Logger (std::ostream &out, const std::string &msg)
 
template<typename T >
std::ostream & operator<< (const T &message)
 

Detailed Description

A wrapper logger class which automatically writes a service "prompt" to the log messages. Given a certain custom <prompt> string, every message <msg> will be print on output with the following format: $ [timestamp prompt] msg where the timestamp is made by date and hours.


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