pound-emu_pound/core/common/Logging/LogEntry.h
Ronald Caesar 05c4f7025f Major project restructuring
Remove unecessary files and made the tree much more cleaner.

Signed-off-by: Ronald Caesar <github43132@proton.me>
2025-08-23 17:23:33 -04:00

28 lines
623 B
C++

// Copyright 2025 Xenon Emulator Project. All rights reserved.
#pragma once
#include <chrono>
#include "LogTypes.h"
namespace Base {
namespace Log {
/*
* A log entry. Log entries are store in a structured format to permit more varied output
* formatting on different frontends, as well as facilitating filtering and aggregation.
*/
struct Entry {
std::chrono::microseconds timestamp = {};
Class logClass = {};
Level logLevel = {};
const char *filename = nullptr;
u32 lineNum = 0;
std::string function = {};
std::string message = {};
bool formatted = true;
};
} // namespace Log
} // namespace Base