serilog-sinks-applicationinsights

(โ˜… 232)

A Serilog sink that writes events to Microsoft Azure Application Insights

  • .editorconfig
  • .gitattributes
  • .gitignore
  • Build.ps1
  • Directory.Build.props
  • Directory.Version.props
  • global.json
  • LICENSE
  • README.md
  • serilog-sinks-applicationinsights.sln

# Installation Guide

1. Get the code
git clone https://github.com/serilog-contrib/serilog-sinks-applicationinsights

Downloads the entire project code from GitHub to your computer.

cd serilog-sinks-applicationinsights

Moves into the project folder you just downloaded.

2. .NET

Medium Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • .NET SDK The SDK required for the dotnet command.
dotnet add package Serilog.Sinks.ApplicationInsights

Type this command into your terminal and run it.

// dotnet add package Serilog.Extensions.Hosting

Type this command into your terminal and run it.

โœ… After dotnet run, check the message or address shown in the terminal.

Pulled directly from this repo's README.

// repository documentation