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

#include <logger.hpp>

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

Public Member Functions

 LogFileBackend (const std::string &prefix="cypress")
 
 ~LogFileBackend () override
 
void log (LogSeverity lvl, std::time_t time, const std::string &module, const std::string &message) override
 

Detailed Description

Writes a log file to the "logs/" directory including the current date, time, and a short random string.

Constructor & Destructor Documentation

cypress::LogFileBackend::LogFileBackend ( const std::string &  prefix = "cypress")
cypress::LogFileBackend::~LogFileBackend ( )
override

Member Function Documentation

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

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: