Upgrade Kettu to 1.2.0

This commit is contained in:
jvyden 2021-11-02 21:43:19 -04:00
parent 9479dca411
commit 455341ffeb
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
3 changed files with 8 additions and 8 deletions

View file

@ -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;

View file

@ -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;
} }
} }

View file

@ -9,7 +9,7 @@
<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">