Serilog.Sinks.ElmahIo 4.2.25

.NET Standard 1.3 .NET Framework 4.5
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Serilog.Sinks.ElmahIo --version 4.2.25
NuGet\Install-Package Serilog.Sinks.ElmahIo -Version 4.2.25
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Serilog.Sinks.ElmahIo" Version="4.2.25" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Serilog.Sinks.ElmahIo --version 4.2.25
#r "nuget: Serilog.Sinks.ElmahIo, 4.2.25"
#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.2.25

// Install Serilog.Sinks.ElmahIo as a Cake Tool
#tool nuget:?package=Serilog.Sinks.ElmahIo&version=4.2.25

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 net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.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 net481
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.3.27-pre 96 1/23/2023
4.3.26-pre 42 1/12/2023
4.2.25 586 12/20/2022
4.1.12 24,140 12/16/2021
4.0.2 7,925 8/18/2021
3.7.0 2,212 5/11/2021
3.6.0 6,918 1/18/2021
3.5.0 63,790 4/14/2020
3.4.0 7,920 9/20/2019
3.3.1 1,529 8/20/2019
3.3.0 528 8/20/2019
3.2.0 7,679 11/19/2018
3.1.1 7,797 9/14/2018
3.1.0 4,137 8/1/2018
3.0.1 8,550 10/12/2017
3.0.0 879 10/12/2017