Installing Logtail .NET client

154085622-59997d5a-3f91-4bc9-a815-3b8ead16d28d.jpeg

Logtail allows you to collect logs directly from any .NET application. Supported language versions are:

  • .NET 5 or newer

Installing Logtail .NET client

In Visual Studio

In Visual Studio, open NuGet Package Manager Console by clicking ToolsNuGet Package ManagerPackage Manager Console

In the opened console, run the following command:

Install-Package Logtail
Copied!

Then run the following command to install NLog.Extensions.Logging package:

Install-Package NLog.Extensions.Logging
Copied!

In PowerShell command line

To install the Logtail package using PowerShell, run the following command in your project’s directory:

dotnet add package Logtail
Copied!

Then install NLog.Extensions.Logging package using the following command:

dotnet add package NLog.Extensions.Logging
Copied!