- TEST_SPEC.md: Updated test directory structure to reflect Core/Asset, Core/IO, and Resources/<Type> subdirectories - TEST_SPEC.md: Updated module names and test counts (852 total) - TEST_SPEC.md: Updated build commands for new Resources subdirectories - README.md: Updated engine structure with Core/Asset/ and Core/IO/ - README.md: Updated Resources section with layered architecture - README.md: Updated test coverage table with accurate counts
26 lines
503 B
C++
26 lines
503 B
C++
#pragma once
|
|
|
|
#include "ILogSink.h"
|
|
#include "LogEntry.h"
|
|
#include <XCEngine/Core/Containers/String.h>
|
|
#include "../Core/FileWriter.h"
|
|
|
|
namespace XCEngine {
|
|
namespace Debug {
|
|
|
|
class FileLogSink : public ILogSink {
|
|
public:
|
|
FileLogSink(const Containers::String& filePath);
|
|
~FileLogSink() override;
|
|
|
|
void Log(const LogEntry& entry) override;
|
|
void Flush() override;
|
|
|
|
private:
|
|
Containers::String m_filePath;
|
|
Core::FileWriter m_writer;
|
|
};
|
|
|
|
} // namespace Debug
|
|
} // namespace XCEngine
|