reporter: Add report class for filesystem access logs
This commit is contained in:
parent
db2fdd0352
commit
554e2f2f98
2 changed files with 25 additions and 0 deletions
|
@ -14,6 +14,10 @@ namespace Kernel {
|
|||
class HLERequestContext;
|
||||
} // namespace Kernel
|
||||
|
||||
namespace Service::FileSystem {
|
||||
enum class LogMode : u32;
|
||||
}
|
||||
|
||||
namespace Core {
|
||||
|
||||
class Reporter {
|
||||
|
@ -45,6 +49,9 @@ public:
|
|||
std::optional<std::string> custom_text_main = {},
|
||||
std::optional<std::string> custom_text_detail = {}) const;
|
||||
|
||||
void SaveFilesystemAccessReport(Service::FileSystem::LogMode log_mode,
|
||||
std::string log_message) const;
|
||||
|
||||
void SaveUserReport() const;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue