Adds Serilog structured logging

This commit is contained in:
BinaryAlley committed 2024-11-06 12:04:03 +02:00
1 parent 98b8d1aba5
commit 21db396bf3
9 files changed
+249 -24

No files matched your search

@@ -1,14 +1,17 @@
using Lumina.Presentation.Web.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Serilog;
using System.Diagnostics;
namespace Lumina.Presentation.Web.Controllers;
[Authorize]
public class HomeController : Controller
{
private readonly ILogger<HomeController> _logger;
private readonly ILogger _logger;
public HomeController(ILogger<HomeController> logger)
public HomeController(ILogger logger)
{
_logger = logger;
}