Serilog.Sinks.ElmahIo 4.1.12

.NET Standard 1.3 .NET Framework 4.5
Install-Package Serilog.Sinks.ElmahIo -Version 4.1.12
dotnet add package Serilog.Sinks.ElmahIo --version 4.1.12
<PackageReference Include="Serilog.Sinks.ElmahIo" Version="4.1.12" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Serilog.Sinks.ElmahIo --version 4.1.12
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Serilog.Sinks.ElmahIo, 4.1.12"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Serilog.Sinks.ElmahIo as a Cake Addin
#addin nuget:?package=Serilog.Sinks.ElmahIo&version=4.1.12

// Install Serilog.Sinks.ElmahIo as a Cake Tool
#tool nuget:?package=Serilog.Sinks.ElmahIo&version=4.1.12
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Serilog.Sinks.ElmahIo

A Serilog sink that writes events to elmah.io.

Build status NuGet Version

To configure the elmah.io sink, call the ElmahIo method as part of your log configuration:

var log = new LoggerConfiguration()
    .WriteTo.ElmahIo(new ElmahIoSinkOptions("API_KEY", new Guid("LOG_ID")))
    .CreateLogger();

The sink captures all levels, but respect the minimum level configured on LoggerConfiguration. Serilog properties are converted to elmah.io's concept of custom variables, when logging new events.

Documentation

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Universal Windows Platform uap uap10.0
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Serilog.Sinks.ElmahIo:

Package Downloads
elmah.io.umbraco The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Integrates elmah.io with Umbraco CMS.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Serilog.Sinks.ElmahIo:

Repository Stars
postsharp/PostSharp.Samples
PostSharp Samples
Version Downloads Last updated
4.1.12 10,946 12/16/2021
4.0.2 5,883 8/18/2021
3.7.0 1,760 5/11/2021
3.6.0 6,387 1/18/2021
3.5.0 57,703 4/14/2020
3.4.0 7,371 9/20/2019
3.3.1 1,422 8/20/2019
3.3.0 431 8/20/2019
3.2.0 7,347 11/19/2018
3.1.1 7,686 9/14/2018
3.1.0 4,007 8/1/2018
3.0.1 8,426 10/12/2017
3.0.0 777 10/12/2017