add helper for checking bionic

This commit is contained in:
Emmanuel Hansen 2023-06-25 17:32:14 +00:00
parent 1835e16045
commit ad0f9a7fc7
12 changed files with 44 additions and 31 deletions

View file

@ -126,11 +126,14 @@ namespace Ryujinx.Common.Logging
_time = Stopwatch.StartNew();
// Logger should log to console by default
AddTarget(new AsyncLogTargetWrapper(
new ConsoleLogTarget("console"),
1000,
AsyncLogTargetOverflowAction.Discard));
if (!Ryujinx.Common.SystemInfo.SystemInfo.IsAndroid())
{
// Logger should log to console by default
AddTarget(new AsyncLogTargetWrapper(
new ConsoleLogTarget("console"),
1000,
AsyncLogTargetOverflowAction.Discard));
}
Notice = new Log(LogLevel.Notice);