fix(logging): 修复日志模块的命名空间引用问题

- 添加了 GFramework.Core.Abstractions.logging 的 using 语句到 AbstractLogger.cs
- 添加了 System 的 using 语句到 ILogger.cs
- 移除了 GFramework.Core.Abstractions.csproj 中无效的 TargetFramework 空标签
- 解决了日志模块的依赖引用问题
This commit is contained in:
GwWuYou 2025-12-28 11:49:57 +08:00
parent 8496bf43bb
commit 1bab3b68da
3 changed files with 6 additions and 3 deletions

View File

@ -9,7 +9,6 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<MeziantouPolyfill_IncludedPolyfills>T:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute</MeziantouPolyfill_IncludedPolyfills>
<Nullable>enable</Nullable>
<TargetFramework/>
</PropertyGroup>
<!-- 引入必要的命名空间 -->

View File

@ -1,4 +1,6 @@
namespace GFramework.Core.Abstractions.logging;
using System;
namespace GFramework.Core.Abstractions.logging;
/// <summary>
/// 定义日志记录接口,提供日志记录和级别检查功能

View File

@ -1,4 +1,6 @@
namespace GFramework.Core.logging;
using GFramework.Core.Abstractions.logging;
namespace GFramework.Core.logging;
/// <summary>
/// 日志抽象基类,封装日志级别判断、格式化与异常处理逻辑。