mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-24 22:59:54 -06:00
misc: Code cleanup
This commit is contained in:
@ -212,9 +212,7 @@ namespace Ryujinx.Common.Logging
|
||||
foreach (var log in logs)
|
||||
{
|
||||
if (log.HasValue)
|
||||
{
|
||||
levels.Add(log.Value.Level);
|
||||
}
|
||||
}
|
||||
|
||||
return levels;
|
||||
@ -233,6 +231,7 @@ namespace Ryujinx.Common.Logging
|
||||
case LogLevel.AccessLog : AccessLog = enabled ? new Log(LogLevel.AccessLog) : new Log?(); break;
|
||||
case LogLevel.Stub : Stub = enabled ? new Log(LogLevel.Stub) : new Log?(); break;
|
||||
case LogLevel.Trace : Trace = enabled ? new Log(LogLevel.Trace) : new Log?(); break;
|
||||
case LogLevel.Notice : break;
|
||||
default: throw new ArgumentException("Unknown Log Level", nameof(logLevel));
|
||||
#pragma warning restore IDE0055
|
||||
}
|
||||
|
Reference in New Issue
Block a user