mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-23 03:04:29 +08:00
- 将 RootLoggerName 常量从接口移至具体实现类 AbstractLogger - 在 AbstractLogger 中添加 IsEnabledForLevel 方法的完整实现 - 更新 ILogger 接口移除 IsEnabledForLevel 的默认实现 - 统一所有项目的目标框架为 netstandard2.0 - 修正命名空间引用确保日志相关类型正确导入 - 添加详细的 XML 文档注释提升代码可读性 - 优化项目构建属性配置支持更高版本的语言特性
25 lines
1.2 KiB
XML
25 lines
1.2 KiB
XML
<Project>
|
|
<!-- import parent: https://docs.microsoft.com/en-us/visualstudio/msbuild/customize-your-build -->
|
|
<PropertyGroup>
|
|
<TargetFramework>netstandard2.0</TargetFramework>
|
|
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
|
|
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
|
<!--
|
|
we use a higher version than supported by the target framework to have nullable types and other nice features
|
|
(a lot of features get polyfilled by Meziantou.Polyfill)
|
|
however we need to be careful with the available features!
|
|
-->
|
|
<LangVersion>preview</LangVersion>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="Meziantou.Analyzer" Version="2.0.264">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Meziantou.Polyfill" Version="1.0.71">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
</Project>
|