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/Ui/Windows/SettingsWindow.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/Ui/Windows/SettingsWindow.cs')
-rw-r--r-- | Ryujinx/Ui/Windows/SettingsWindow.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Ryujinx/Ui/Windows/SettingsWindow.cs b/Ryujinx/Ui/Windows/SettingsWindow.cs index 8434d652..2b423081 100644 --- a/Ryujinx/Ui/Windows/SettingsWindow.cs +++ b/Ryujinx/Ui/Windows/SettingsWindow.cs @@ -35,6 +35,7 @@ namespace Ryujinx.Ui.Windows private float _previousVolumeLevel; #pragma warning disable CS0649, IDE0044 + [GUI] CheckButton _traceLogToggle; [GUI] CheckButton _errorLogToggle; [GUI] CheckButton _warningLogToggle; [GUI] CheckButton _infoLogToggle; @@ -141,6 +142,11 @@ namespace Ryujinx.Ui.Windows }; // Setup Currents. + if (ConfigurationState.Instance.Logger.EnableTrace) + { + _traceLogToggle.Click(); + } + if (ConfigurationState.Instance.Logger.EnableFileLog) { _fileLogToggle.Click(); @@ -487,6 +493,7 @@ namespace Ryujinx.Ui.Windows } ConfigurationState.Instance.Logger.EnableError.Value = _errorLogToggle.Active; + ConfigurationState.Instance.Logger.EnableTrace.Value = _traceLogToggle.Active; ConfigurationState.Instance.Logger.EnableWarn.Value = _warningLogToggle.Active; ConfigurationState.Instance.Logger.EnableInfo.Value = _infoLogToggle.Active; ConfigurationState.Instance.Logger.EnableStub.Value = _stubLogToggle.Active; |