1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-27 22:41:22 +01:00

Merge branch 'main' into vault/PM-14381

This commit is contained in:
gbubemismith 2025-01-09 16:59:31 -05:00
commit 67404715b6
No known key found for this signature in database
2 changed files with 20 additions and 5 deletions

View File

@ -13,18 +13,33 @@ public class DbUpLogger : IUpgradeLog
_logger = logger;
}
public void WriteError(string format, params object[] args)
public void LogTrace(string format, params object[] args)
{
_logger.LogError(Constants.BypassFiltersEventId, format, args);
_logger.LogTrace(Constants.BypassFiltersEventId, format, args);
}
public void WriteInformation(string format, params object[] args)
public void LogDebug(string format, params object[] args)
{
_logger.LogDebug(Constants.BypassFiltersEventId, format, args);
}
public void LogInformation(string format, params object[] args)
{
_logger.LogInformation(Constants.BypassFiltersEventId, format, args);
}
public void WriteWarning(string format, params object[] args)
public void LogWarning(string format, params object[] args)
{
_logger.LogWarning(Constants.BypassFiltersEventId, format, args);
}
public void LogError(string format, params object[] args)
{
_logger.LogError(Constants.BypassFiltersEventId, format, args);
}
public void LogError(Exception ex, string format, params object[] args)
{
_logger.LogError(Constants.BypassFiltersEventId, ex, format, args);
}
}

View File

@ -6,7 +6,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="dbup-sqlserver" Version="5.0.41" />
<PackageReference Include="dbup-sqlserver" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.1" />
</ItemGroup>