using log4net; using Microsoft.AspNetCore.Mvc; namespace API.Controllers; public abstract class ApiController(Type type) : Controller { protected ILog Log { get; init; } = LogManager.GetLogger(type); }