mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-22 21:57:44 +02:00
parent
417df486b1
commit
361d0c5632
622 changed files with 3080 additions and 2652 deletions
|
@ -158,7 +158,7 @@ namespace Ryujinx.Common.Logging
|
|||
_time.Restart();
|
||||
}
|
||||
|
||||
private static ILogTarget GetTarget(string targetName)
|
||||
private static ILogTarget GetTarget(string targetName)
|
||||
=> _logTargets.FirstOrDefault(target => target.Name.Equals(targetName));
|
||||
|
||||
public static void AddTarget(ILogTarget target)
|
||||
|
|
|
@ -5,7 +5,7 @@ namespace Ryujinx.Common.Logging.Targets
|
|||
{
|
||||
public class ConsoleLogTarget : ILogTarget
|
||||
{
|
||||
private readonly ILogFormatter _formatter;
|
||||
private readonly DefaultLogFormatter _formatter;
|
||||
|
||||
private readonly string _name;
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Ryujinx.Common.Logging.Targets
|
|||
public class FileLogTarget : ILogTarget
|
||||
{
|
||||
private readonly StreamWriter _logWriter;
|
||||
private readonly ILogFormatter _formatter;
|
||||
private readonly DefaultLogFormatter _formatter;
|
||||
private readonly string _name;
|
||||
|
||||
string ILogTarget.Name { get => _name; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue