Files
Training-Team2-Zenvy-Jan26/Trenser.Zenvy/Trenser.Zenvy/models/Log.cpp
T
2026-04-17 10:37:55 +05:30

27 lines
486 B
C++

/*
File: Log.cpp
* Description : Represents a log entry containing a timestamp and an associated message.
* Author : Trenser
* Created : 01-Apr-2026
*/
#include "Log.h"
const util::Timestamp& Log::getTimestamp() const
{
return m_timestamp;
}
const std::string& Log::getMessage() const
{
return m_message;
}
void Log::setTimestamp(const util::Timestamp& timestamp)
{
m_timestamp = timestamp;
}
void Log::setMessage(const std::string& message)
{
m_message = message;
}