summaryrefslogtreecommitdiff
path: root/src/core/reporter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/reporter.h')
-rw-r--r--src/core/reporter.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/core/reporter.h b/src/core/reporter.h
index 6fb6ebffa..6e9edeea3 100644
--- a/src/core/reporter.h
+++ b/src/core/reporter.h
@@ -16,10 +16,6 @@ namespace Kernel {
16class HLERequestContext; 16class HLERequestContext;
17} // namespace Kernel 17} // namespace Kernel
18 18
19namespace Service::FileSystem {
20enum class LogMode : u32;
21}
22
23namespace Service::LM { 19namespace Service::LM {
24struct LogMessage; 20struct LogMessage;
25} // namespace Service::LM 21} // namespace Service::LM
@@ -69,14 +65,15 @@ public:
69 std::optional<std::string> custom_text_main = {}, 65 std::optional<std::string> custom_text_main = {},
70 std::optional<std::string> custom_text_detail = {}) const; 66 std::optional<std::string> custom_text_detail = {}) const;
71 67
72 void SaveFilesystemAccessReport(Service::FileSystem::LogMode log_mode, 68 void SaveFSAccessLog(std::string_view log_message) const;
73 std::string log_message) const;
74 69
75 // Can be used anywhere to generate a backtrace and general info report at any point during 70 // Can be used anywhere to generate a backtrace and general info report at any point during
76 // execution. Not intended to be used for anything other than debugging or testing. 71 // execution. Not intended to be used for anything other than debugging or testing.
77 void SaveUserReport() const; 72 void SaveUserReport() const;
78 73
79private: 74private:
75 void ClearFSAccessLog() const;
76
80 bool IsReportingEnabled() const; 77 bool IsReportingEnabled() const;
81 78
82 System& system; 79 System& system;