diff options
Diffstat (limited to 'Ryujinx.Common/Logging/Logger.cs')
-rw-r--r-- | Ryujinx.Common/Logging/Logger.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Ryujinx.Common/Logging/Logger.cs b/Ryujinx.Common/Logging/Logger.cs index 95b67c8e..10b1d970 100644 --- a/Ryujinx.Common/Logging/Logger.cs +++ b/Ryujinx.Common/Logging/Logger.cs @@ -39,6 +39,11 @@ namespace Ryujinx.Common.Logging m_Time = Stopwatch.StartNew(); } + public static void RestartTime() + { + m_Time.Restart(); + } + public static void AddTarget(ILogTarget target) { m_LogTargets.Add(target); @@ -134,4 +139,4 @@ namespace Ryujinx.Common.Logging return $"{Class} {Caller}: {Message}"; } } -}
\ No newline at end of file +} |