mirror of
https://github.com/libretro/Mesen.git
synced 2024-12-15 05:18:30 +00:00
28 lines
473 B
C++
28 lines
473 B
C++
#pragma once
|
|
#include "stdafx.h"
|
|
|
|
class DisassemblyInfo;
|
|
struct DebugState;
|
|
|
|
struct TraceLoggerOptions
|
|
{
|
|
|
|
};
|
|
|
|
class TraceLogger
|
|
{
|
|
private:
|
|
static TraceLogger *_instance;
|
|
TraceLoggerOptions _options;
|
|
string _outputFilepath;
|
|
ofstream _outputFile;
|
|
bool _firstLine;
|
|
|
|
public:
|
|
TraceLogger(string outputFilepath, TraceLoggerOptions options);
|
|
~TraceLogger();
|
|
|
|
void Log(DebugState &state, shared_ptr<DisassemblyInfo> disassemblyInfo);
|
|
|
|
static void LogStatic(string log);
|
|
}; |