Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

SirSeven/serilog-sinks-exceptionless

 
 

Repository files navigation

Serilog.Sinks.Exceptionless

Build status

Serilog sink to publish to Exceptionless

PM> Install-Package Serilog.Sinks.Exceptionless

Read the Exceptionless configuration

using Exceptionless;
Exceptionless.ExceptionlessClient.Default.Startup();
Log.Logger = new LoggerConfiguration()
    .WriteTo.Exceptionless(b => b.AddTags("ASP.NET Core Example Logger").AddRequestInfo(HttpContext))
    .CreateLogger();

var log = Log.ForContext<HomeController>();
log.Information("Info Log that also contains HttpContext request info and default tags");

Copyright © 2017 Serilog Contributors - Provided under the Apache License, Version 2.0.

About

Writes events from Serilog to the Exceptionless logging service.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 93.1%
  • PowerShell 6.9%