Cypress  1.0
C++ Spiking Neural Network Simulation Framework
Public Member Functions | List of all members
cypress::LogStreamBackend Class Reference

#include <logger.hpp>

Inheritance diagram for cypress::LogStreamBackend:
Inheritance graph
[legend]
Collaboration diagram for cypress::LogStreamBackend:
Collaboration graph
[legend]

Public Member Functions

 LogStreamBackend (std::ostream &os, bool use_color=false)
 
void log (LogSeverity lvl, std::time_t time, const std::string &module, const std::string &message) override
 
 ~LogStreamBackend () override
 

Detailed Description

Implementation of the LogBackend class which loggs to the given output stream.

Constructor & Destructor Documentation

cypress::LogStreamBackend::LogStreamBackend ( std::ostream &  os,
bool  use_color = false 
)
cypress::LogStreamBackend::~LogStreamBackend ( )
override

Member Function Documentation

void cypress::LogStreamBackend::log ( LogSeverity  lvl,
std::time_t  time,
const std::string &  module,
const std::string &  message 
)
overridevirtual

Pure virtual function which is called whenever a new log message should be logged.

Implements cypress::LogBackend.


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