Moved DateTime helper functions to service class

This commit is contained in:
Nav
2022-12-26 22:10:49 +00:00
parent 90ef72f686
commit 0a15ce8a84
8 changed files with 22 additions and 19 deletions

View File

@@ -6,7 +6,7 @@
#include <atomic>
#include "src/ProjectConfig.hpp"
#include "src/Helpers/DateTime.hpp"
#include "src/Services/DateTimeService.hpp"
namespace Bloom
{
@@ -26,7 +26,7 @@ namespace Bloom
std::uint32_t id = ++(LogEntry::lastLogId);
std::string message;
LogLevel logLevel;
QDateTime timestamp = DateTime::currentDateTime();
QDateTime timestamp = Services::DateTimeService::currentDateTime();
std::string threadName;
LogEntry(std::string message, LogLevel logLevel)