-
-
Save DamianEdwards/3d35f3617506af00ff0d04042ad3d2b0 to your computer and use it in GitHub Desktop.
ASP.NET Core Logger use
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class HomeController : Controller { | |
public HomeController(ILogger<HomeController> logger) { | |
Logger = logger; | |
} | |
public ILogger Logger { get; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment