a925fe63fb
<SRS> SRS01 : Authentication </SRS> <Changes> - Set up DataStore singleton and added basic employee + log storage - Added LogService - Refactor InputHelper - Updated include paths in project config </Changes> <Review> Smitha Mohan </Review>
18 lines
471 B
C++
18 lines
471 B
C++
#pragma once
|
|
#include <string>
|
|
#include "Timestamp.h"
|
|
|
|
class Log
|
|
{
|
|
private:
|
|
util::Timestamp m_timestamp;
|
|
std::string m_message;
|
|
public:
|
|
Log() : m_timestamp(), m_message("") {}
|
|
Log(const std::string& message)
|
|
: m_timestamp(), m_message(message) {}
|
|
const util::Timestamp& getTimestamp() const;
|
|
const std::string& getMessage() const;
|
|
void setTimestamp(const util::Timestamp& timestamp);
|
|
void setMessage(const std::string& message);
|
|
}; |