Remove public ILogger from PluginController
Having a public ILogger doesn't align with MS ILogger, and the logger is never used
This commit is contained in:
@@ -49,11 +49,6 @@ namespace Umbraco.Web.Common.Controllers
|
||||
/// </summary>
|
||||
public AppCaches AppCaches { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the logger.
|
||||
/// </summary>
|
||||
public ILogger Logger { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the profiling logger.
|
||||
/// </summary>
|
||||
@@ -64,13 +59,12 @@ namespace Umbraco.Web.Common.Controllers
|
||||
/// </summary>
|
||||
internal PluginControllerMetadata Metadata => GetMetadata(GetType());
|
||||
|
||||
protected PluginController(IUmbracoContextAccessor umbracoContextAccessor, IUmbracoDatabaseFactory databaseFactory, ServiceContext services, AppCaches appCaches, ILogger logger, IProfilingLogger profilingLogger)
|
||||
protected PluginController(IUmbracoContextAccessor umbracoContextAccessor, IUmbracoDatabaseFactory databaseFactory, ServiceContext services, AppCaches appCaches, IProfilingLogger profilingLogger)
|
||||
{
|
||||
UmbracoContextAccessor = umbracoContextAccessor;
|
||||
DatabaseFactory = databaseFactory;
|
||||
Services = services;
|
||||
AppCaches = appCaches;
|
||||
Logger = logger;
|
||||
ProfilingLogger = profilingLogger;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user