A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Q42/Q42.Logging.ApplicationInsights below:

Q42/Q42.Logging.ApplicationInsights: Log to ApplicationInsights using the default ILogger

Q42.Logging.ApplicationInsights

Small library that will send logs to Application Insights when using the default ASP.Net Core 1.0 logging.

Available on NuGet

Usage: Make sure you've set up ApplicationInsights in your application:

Startup.cs / ConfigureServices:
services.AddApplicationInsightsTelemetry(Configuration);

Add this package to your project.json and use it: Startup.cs / Configure:
loggerFactory.AddApplicationInsights(app.ApplicationServices.GetRequiredService<TelemetryClient>(), LogLevel.Warning);

Contributions are welcome, just send a PR!

This project is based on: https://github.com/alexvaluyskiy/BookPortal/tree/master/src/BookPortal.Core.Logging


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4