mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
fix(logging): 修复日志模块的命名空间引用问题
- 添加了 GFramework.Core.Abstractions.logging 的 using 语句到 AbstractLogger.cs - 添加了 System 的 using 语句到 ILogger.cs - 移除了 GFramework.Core.Abstractions.csproj 中无效的 TargetFramework 空标签 - 解决了日志模块的依赖引用问题
This commit is contained in:
parent
8496bf43bb
commit
1bab3b68da
@ -9,7 +9,6 @@
|
||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||
<MeziantouPolyfill_IncludedPolyfills>T:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute</MeziantouPolyfill_IncludedPolyfills>
|
||||
<Nullable>enable</Nullable>
|
||||
<TargetFramework/>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- 引入必要的命名空间 -->
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
namespace GFramework.Core.Abstractions.logging;
|
||||
using System;
|
||||
|
||||
namespace GFramework.Core.Abstractions.logging;
|
||||
|
||||
/// <summary>
|
||||
/// 定义日志记录接口,提供日志记录和级别检查功能
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
namespace GFramework.Core.logging;
|
||||
using GFramework.Core.Abstractions.logging;
|
||||
|
||||
namespace GFramework.Core.logging;
|
||||
|
||||
/// <summary>
|
||||
/// 日志抽象基类,封装日志级别判断、格式化与异常处理逻辑。
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user