Files
Training-Team2-Zenvy-Jan26/Trenser.Zenvy/Trenser.Zenvy/models/Log.h
T
joelthomastrenser a925fe63fb Add logging service and datastore setup, refactor inputHelper
<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>
2026-04-02 19:58:59 +05:30

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);
};