fix OSLog

This commit is contained in:
Aigio Liu
2021-10-16 14:08:17 +08:00
parent d2b94ef3b0
commit bd55e5abbc
2 changed files with 2 additions and 6 deletions
@@ -3,8 +3,8 @@
using System;
using System.Collections.Concurrent;
using System.Text;
using CoreFoundation;
using Microsoft.Extensions.Logging;
using OSLog = CoreFoundation.OSLog;
// ReSharper disable once CheckNamespace
namespace Uno.Extensions.Logging
@@ -85,7 +85,7 @@ namespace Uno.Extensions.Logging
_ => OSLogLevel.Default,
};
OSLog.Default.Log(osLogLevel, formattedMessage);
global::CoreFoundation.OSLog.Default.Log(osLogLevel, formattedMessage);
}
catch (Exception ex)
{
-4
View File
@@ -39,8 +39,4 @@
<LastGenOutput>SR.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Folder Include="Extensions\" />
</ItemGroup>
</Project>