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:
commit
67404715b6
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user