diff options
author | mlgatto <98356234+mlgatto@users.noreply.github.com> | 2022-02-18 01:08:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-17 21:08:07 -0300 |
commit | 95cc18a7b41ca28f47b1388d1952e341fe568430 (patch) | |
tree | 86397c11eda2b696466c3b5d9f5edf7e91c6706a /Ryujinx/Configuration/LoggerModule.cs | |
parent | c017c77365f877e2b4d2c4d15add6899c5d30fc4 (diff) |
Added trace log level (#3096)1.1.38
* added trace log level
* use trace log level instead of debug ( #1547)
* alignment #1547
* moved trace logs toggle at the bottom #1547
* bumped config file version #3096
* added migration step #3096
* setting moved to the dev section #1547
* performance warning displayed when trace is enabled #1547
Diffstat (limited to 'Ryujinx/Configuration/LoggerModule.cs')
-rw-r--r-- | Ryujinx/Configuration/LoggerModule.cs | 6 |
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); |