Update Logger.cs
This commit is contained in:
parent
0e93a51030
commit
81e8be9c1b
1 changed files with 6 additions and 1 deletions
|
@ -39,6 +39,11 @@ namespace Ryujinx.Common.Logging
|
||||||
m_Time = Stopwatch.StartNew();
|
m_Time = Stopwatch.StartNew();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void RestartTime()
|
||||||
|
{
|
||||||
|
m_Time.Restart();
|
||||||
|
}
|
||||||
|
|
||||||
public static void AddTarget(ILogTarget target)
|
public static void AddTarget(ILogTarget target)
|
||||||
{
|
{
|
||||||
m_LogTargets.Add(target);
|
m_LogTargets.Add(target);
|
||||||
|
@ -134,4 +139,4 @@ namespace Ryujinx.Common.Logging
|
||||||
return $"{Class} {Caller}: {Message}";
|
return $"{Class} {Caller}: {Message}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue