nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
 
Loading...
Searching...
No Matches
logger.h
1#ifndef NXDK_PGRAPH_TESTS_LOGGER_H
2#define NXDK_PGRAPH_TESTS_LOGGER_H
3
4#include <fstream>
5#include <string>
6
7class Logger {
8 public:
9 static void Initialize(const std::string &log_path, bool truncate_log);
10
11 static std::ofstream Log();
12
13 private:
14 explicit Logger(const std::string &path, bool truncate_log = false);
15
16 std::string log_path_;
17
18 static Logger *singleton_;
19};
20
21#endif // NXDK_PGRAPH_TESTS_LOGGER_H
Definition logger.h:7