mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-23 03:04:29 +08:00
- 为 ILoggerFactory 接口添加 minLevel 参数支持 - 实现 ConsoleLoggerFactoryProvider 和 GodotLoggerFactoryProvider - 创建 LoggerFactoryResolver 用于管理日志工厂提供程序 - 为 NoopLoggerFactory 添加日志级别参数 - 在 LogAttribute 中添加 MinLevel 属性 - 更新项目引用以支持日志级别配置功能
21 lines
763 B
XML
21 lines
763 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
||
|
||
<!--
|
||
配置项目构建属性
|
||
设置项目不可打包、生成文档文件,并包含特定的Polyfill
|
||
-->
|
||
<PropertyGroup>
|
||
<IsPackable>false</IsPackable>
|
||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||
<MeziantouPolyfill_IncludedPolyfills>T:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute</MeziantouPolyfill_IncludedPolyfills>
|
||
</PropertyGroup>
|
||
|
||
<!-- 引入必要的命名空间 -->
|
||
<ItemGroup>
|
||
<Using Include="GFramework.SourceGenerators.Abstractions"/>
|
||
</ItemGroup>
|
||
<ItemGroup>
|
||
<ProjectReference Include="..\GFramework.Core.Abstractions\GFramework.Core.Abstractions.csproj" PrivateAssets="all"/>
|
||
</ItemGroup>
|
||
</Project>
|