mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-21 16:52:27 +00:00
Upgrade Kettu to 1.2.0
This commit is contained in:
parent
9479dca411
commit
455341ffeb
3 changed files with 8 additions and 8 deletions
|
@ -7,7 +7,6 @@ namespace LBPUnion.ProjectLighthouse.Logging
|
||||||
{
|
{
|
||||||
public class AspNetToKettuLogger : ILogger
|
public class AspNetToKettuLogger : ILogger
|
||||||
{
|
{
|
||||||
|
|
||||||
public IDisposable BeginScope<TState>(TState state) => NullScope.Instance;
|
public IDisposable BeginScope<TState>(TState state) => NullScope.Instance;
|
||||||
public bool IsEnabled(LogLevel logLevel) => true;
|
public bool IsEnabled(LogLevel logLevel) => true;
|
||||||
|
|
||||||
|
|
|
@ -21,5 +21,6 @@ namespace LBPUnion.ProjectLighthouse.Logging
|
||||||
File.AppendAllText(Path.Combine(logsDirectory, line.LoggerLevel.Name + ".log"), contentFile);
|
File.AppendAllText(Path.Combine(logsDirectory, line.LoggerLevel.Name + ".log"), contentFile);
|
||||||
File.AppendAllText(Path.Combine(logsDirectory, "all.log"), contentAll);
|
File.AppendAllText(Path.Combine(logsDirectory, "all.log"), contentAll);
|
||||||
}
|
}
|
||||||
|
public override bool AllowMultiple => false;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -8,23 +8,23 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="BCrypt.Net-Next" Version="4.0.2"/>
|
<PackageReference Include="BCrypt.Net-Next" Version="4.0.2" />
|
||||||
<PackageReference Include="Kettu" Version="1.1.0"/>
|
<PackageReference Include="Kettu" Version="1.2.0" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="5.0.11"/>
|
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="5.0.11" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="5.0.11"/>
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="5.0.11" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="5.0.11">
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="5.0.11">
|
||||||
<PrivateAssets>all</PrivateAssets>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="5.0.2"/>
|
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="5.0.2" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Remove="Types\SlotXsd.cs"/>
|
<Compile Remove="Types\SlotXsd.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="logs"/>
|
<Folder Include="logs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue