From bd55e5abbcfd7028f26f7ed5b14da4abb45816d4 Mon Sep 17 00:00:00 2001 From: Aigio Liu Date: Sat, 16 Oct 2021 14:08:13 +0800 Subject: [PATCH] fix OSLog --- src/ST.Client.Desktop.Mac/Logging/OSLogLogger.cs | 4 ++-- src/ST/ST.csproj | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/ST.Client.Desktop.Mac/Logging/OSLogLogger.cs b/src/ST.Client.Desktop.Mac/Logging/OSLogLogger.cs index 7cd84ad78..442a00c8d 100644 --- a/src/ST.Client.Desktop.Mac/Logging/OSLogLogger.cs +++ b/src/ST.Client.Desktop.Mac/Logging/OSLogLogger.cs @@ -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) { diff --git a/src/ST/ST.csproj b/src/ST/ST.csproj index 61d554f80..be1abf6af 100644 --- a/src/ST/ST.csproj +++ b/src/ST/ST.csproj @@ -39,8 +39,4 @@ SR.Designer.cs - - - - \ No newline at end of file