1

This example uses ILogger<HomeController> (see step 6): Getting started with ASP.NET Core 2

What's the difference in that vs. using this static property in each Controller:

private static readonly Logger Logger = LogManager.GetCurrentClassLogger();

Performance and memory wise?

Mads Hansen
  • 63,927
  • 12
  • 112
  • 147
user3401331
  • 75
  • 1
  • 9

0 Answers0