Cypress
1.0
C++ Spiking Neural Network Simulation Framework
|
#include <logger.hpp>
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 |
Writes a log file to the "logs/" directory including the current date, time, and a short random string.
cypress::LogFileBackend::LogFileBackend | ( | const std::string & | prefix = "cypress" | ) |
|
override |
|
overridevirtualinherited |
Pure virtual function which is called whenever a new log message should be logged.
Implements cypress::LogBackend.