feat: member add logs, improve meta command
This commit is contained in:
parent
f0cb5a9d03
commit
8f39d85486
12 changed files with 73 additions and 15 deletions
|
|
@ -103,6 +103,8 @@ public static class StartupExtensions
|
|||
var logger = scope.ServiceProvider.GetRequiredService<ILogger>().ForContext<Program>();
|
||||
logger.Information("Starting Catalogger.NET");
|
||||
|
||||
CataloggerMetrics.Startup = scope.ServiceProvider.GetRequiredService<IClock>().GetCurrentInstant();
|
||||
|
||||
await using (var db = scope.ServiceProvider.GetRequiredService<DatabaseContext>())
|
||||
{
|
||||
var migrationCount = (await db.Database.GetPendingMigrationsAsync()).Count();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue