summaryrefslogtreecommitdiff
path: root/src/core/reporter.h
diff options
context:
space:
mode:
authorGravatar Zach Hilman2019-06-28 21:02:50 -0400
committerGravatar Zach Hilman2019-06-28 21:02:50 -0400
commit554e2f2f983824bee174465c79b9ad3c27e8208f (patch)
tree0ab536c5287b8715928991ccf38c3963b25a564f /src/core/reporter.h
parentfsp-srv: Implement OutputAccessLogToSdCard (diff)
downloadyuzu-554e2f2f983824bee174465c79b9ad3c27e8208f.tar.gz
yuzu-554e2f2f983824bee174465c79b9ad3c27e8208f.tar.xz
yuzu-554e2f2f983824bee174465c79b9ad3c27e8208f.zip
reporter: Add report class for filesystem access logs
Diffstat (limited to 'src/core/reporter.h')
-rw-r--r--src/core/reporter.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/reporter.h b/src/core/reporter.h
index 3de19c0f7..ba95c369e 100644
--- a/src/core/reporter.h
+++ b/src/core/reporter.h
@@ -14,6 +14,10 @@ namespace Kernel {
14class HLERequestContext; 14class HLERequestContext;
15} // namespace Kernel 15} // namespace Kernel
16 16
17namespace Service::FileSystem {
18enum class LogMode : u32;
19}
20
17namespace Core { 21namespace Core {
18 22
19class Reporter { 23class Reporter {
@@ -45,6 +49,9 @@ public:
45 std::optional<std::string> custom_text_main = {}, 49 std::optional<std::string> custom_text_main = {},
46 std::optional<std::string> custom_text_detail = {}) const; 50 std::optional<std::string> custom_text_detail = {}) const;
47 51
52 void SaveFilesystemAccessReport(Service::FileSystem::LogMode log_mode,
53 std::string log_message) const;
54
48 void SaveUserReport() const; 55 void SaveUserReport() const;
49 56
50private: 57private: