aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx/Configuration/LoggerModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx/Configuration/LoggerModule.cs')
-rw-r--r--Ryujinx/Configuration/LoggerModule.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Ryujinx/Configuration/LoggerModule.cs b/Ryujinx/Configuration/LoggerModule.cs
index 2599eeff..9e81f725 100644
--- a/Ryujinx/Configuration/LoggerModule.cs
+++ b/Ryujinx/Configuration/LoggerModule.cs
@@ -13,6 +13,7 @@ namespace Ryujinx.Configuration
ConfigurationState.Instance.Logger.EnableInfo.Event += ReloadEnableInfo;
ConfigurationState.Instance.Logger.EnableWarn.Event += ReloadEnableWarning;
ConfigurationState.Instance.Logger.EnableError.Event += ReloadEnableError;
+ ConfigurationState.Instance.Logger.EnableTrace.Event += ReloadEnableTrace;
ConfigurationState.Instance.Logger.EnableGuest.Event += ReloadEnableGuest;
ConfigurationState.Instance.Logger.EnableFsAccessLog.Event += ReloadEnableFsAccessLog;
ConfigurationState.Instance.Logger.FilteredClasses.Event += ReloadFilteredClasses;
@@ -44,6 +45,11 @@ namespace Ryujinx.Configuration
Logger.SetEnable(LogLevel.Error, e.NewValue);
}
+ private static void ReloadEnableTrace(object sender, ReactiveEventArgs<bool> e)
+ {
+ Logger.SetEnable(LogLevel.Trace, e.NewValue);
+ }
+
private static void ReloadEnableGuest(object sender, ReactiveEventArgs<bool> e)
{
Logger.SetEnable(LogLevel.Guest, e.NewValue);