Using NLog in a .NET 5 Console Application with Dependency Injection

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Demonstrated with a .NET 5 Console application. Example project can also be found on GitHub.

  • ambie

    An app that uses white noise, nature sounds, and focus features to boost your productivity.

  • The package Microsoft.Extensions.DependencyInjection - or use another DI library.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • NLog

    NLog - Advanced and Structured Logging for Various .NET Platforms

  • It is recommended to read the NLog Tutorial. For more detailed information about config file can be found here.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts