added logging for startup issues
This commit is contained in:
@ -11,6 +11,7 @@ using Microsoft.AspNetCore.Components;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.OpenApi.Models;
|
||||
using Oqtane.Infrastructure;
|
||||
using Oqtane.Modules;
|
||||
@ -62,7 +63,7 @@ namespace Microsoft.Extensions.DependencyInjection
|
||||
services.AddSingleton<ISyncManager, SyncManager>();
|
||||
services.AddSingleton<IDatabaseManager, DatabaseManager>();
|
||||
services.AddSingleton<IConfigManager, ConfigManager>();
|
||||
|
||||
services.AddSingleton<ILoggerProvider, FileLoggerProvider>();
|
||||
return services;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user