Log timestamp added

This commit is contained in:
Nekotekina 2017-02-22 12:52:03 +03:00
parent 47fdaf6902
commit f08579d201
3 changed files with 53 additions and 6 deletions

View file

@ -43,7 +43,7 @@ namespace logs
virtual ~listener();
// Process log message
virtual void log(const message& msg, const std::string& prefix, const std::string& text) = 0;
virtual void log(u64 stamp, const message& msg, const std::string& prefix, const std::string& text) = 0;
// Add new listener
static void add(listener*);