mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-25 13:33:28 +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>
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||||
<MeziantouPolyfill_IncludedPolyfills>T:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute</MeziantouPolyfill_IncludedPolyfills>
|
<MeziantouPolyfill_IncludedPolyfills>T:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute</MeziantouPolyfill_IncludedPolyfills>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<TargetFramework/>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<!-- 引入必要的命名空间 -->
|
<!-- 引入必要的命名空间 -->
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
namespace GFramework.Core.Abstractions.logging;
|
using System;
|
||||||
|
|
||||||
|
namespace GFramework.Core.Abstractions.logging;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 定义日志记录接口,提供日志记录和级别检查功能
|
/// 定义日志记录接口,提供日志记录和级别检查功能
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
namespace GFramework.Core.logging;
|
using GFramework.Core.Abstractions.logging;
|
||||||
|
|
||||||
|
namespace GFramework.Core.logging;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 日志抽象基类,封装日志级别判断、格式化与异常处理逻辑。
|
/// 日志抽象基类,封装日志级别判断、格式化与异常处理逻辑。
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user