Elmah.Io.Client 6.0.133-pre

Prefix Reserved
This is a prerelease version of Elmah.Io.Client.
dotnet add package Elmah.Io.Client --version 6.0.133-pre
                    
NuGet\Install-Package Elmah.Io.Client -Version 6.0.133-pre
                    
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="Elmah.Io.Client" Version="6.0.133-pre" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Elmah.Io.Client" Version="6.0.133-pre" />
                    
Directory.Packages.props
<PackageReference Include="Elmah.Io.Client" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Elmah.Io.Client --version 6.0.133-pre
                    
#r "nuget: Elmah.Io.Client, 6.0.133-pre"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Elmah.Io.Client@6.0.133-pre
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Elmah.Io.Client&version=6.0.133-pre&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Elmah.Io.Client&version=6.0.133-pre&prerelease
                    
Install as a Cake Tool

Elmah.Io.Client

Build status NuGet

Raw client for communicating with the elmah.io API.

Usage

To start logging, create a new instance of the ElmahioAPI class:

client = ElmahioAPI.Create(apiKey);

where apiKey is your API key found on your profile page at elmah.io. Make sure to share this instance as a singleton.

Logging

Log messages either through the log method:

client.Messages.Log(logId, new Exception(), Severity.Error, "This is a bug");

or through one of the helpers:

client.Messages.Debug(logId, "A debug message");
client.Messages.Fatal(logId, exception, "This is a fatal bug");

Creating logs

Logs are containers for log messages. To create a new log for a new application, microservice or similar, use the Create method:

client.Logs.Create(new CreateLog("My log"));

Developing

Parts of this client is auto generated using NSwag. NSwag is an Open Source tool that can generate clients for many languages (like C#) from Swagger/OpenAPI 2.0 and 3.0 specs.

To generate a client from the most reason API specs, you first need to install NSwag. We recommend that you use the NPM package which can be installed with this:

npm install nswag -g

With this NSwag CLI tool, you can execute the following command in this folder to generate the newest client.

nswag run
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (24)

Showing the top 5 NuGet packages that depend on Elmah.Io.Client:

Package Downloads
Elmah.Io.AspNetCore

An elmah.io provider for ASP.NET Core

Elmah.Io.Extensions.Logging

An elmah.io provider for Microsoft.Extensions.Logging

elmah.io

ELMAH error logger for sending errors to elmah.io. This package include initial configuration for getting up and running with elmah.io from ASP.NET, MVC, Web API etc. Consider using one of the specialized packages instead (Elmah.Io.Mvc, Elmah.Io.WebApi etc.).

Serilog.Sinks.ElmahIo

Serilog sink that writes to elmah.io

Elmah.Io.NLog

elmah.io target for NLog

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Elmah.Io.Client:

Repository Stars
nkdAgility/azure-devops-migration-tools
Azure DevOps Migration Tools allow you to migrate Teams, Backlogs, Work Items, Tasks, Test Cases, and Plans & Suits from one Project to another in Azure DevOps / TFS both within the same Organisation, and between Organisations.
Version Downloads Last Updated
6.0.133-pre 174 9/23/2025
5.3.131 1,012 9/23/2025
5.2.118 69,518 1/6/2025
5.2.117 732 12/18/2024
5.2.114 15,349 12/4/2024
5.1.76 120,526 5/24/2024
5.1.75 2,152 5/15/2024 5.1.75 is deprecated because it has critical bugs.
5.0.66 457,192 7/24/2023
4.4.56 139,152 3/21/2023
4.3.43 157,525 9/9/2022
4.2.40 117,630 6/15/2022
4.1.36 288,856 12/15/2021
4.0.29 206,580 8/17/2021
3.12.19 24,101 6/8/2021
3.11.15 39,816 5/6/2021 3.11.15 is deprecated because it is no longer maintained.
3.10.10 128,393 1/12/2021 3.10.10 is deprecated because it is no longer maintained.
3.9.90 92,627 8/12/2020 3.9.90 is deprecated because it is no longer maintained.
3.8.86 37,546 6/23/2020 3.8.86 is deprecated because it is no longer maintained.
3.7.80 145,973 2/29/2020 3.7.80 is deprecated because it is no longer maintained.
3.7.79 77,882 1/20/2020 3.7.79 is deprecated because it is no longer maintained.
3.6.73 64,132 9/17/2019 3.6.73 is deprecated because it is no longer maintained.
3.5.68 12,575 8/16/2019 3.5.68 is deprecated because it is no longer maintained.
3.5.67 44,832 8/12/2019 3.5.67 is deprecated because it is no longer maintained.
3.4.63 43,942 3/18/2019 3.4.63 is deprecated because it is no longer maintained.
3.3.61 55,267 1/23/2019 3.3.61 is deprecated because it is no longer maintained.
3.3.58 88,868 12/12/2018 3.3.58 is deprecated because it is no longer maintained.
3.3.57 2,973 12/3/2018 3.3.57 is deprecated because it is no longer maintained.
3.2.54 59,371 10/25/2018 3.2.54 is deprecated because it is no longer maintained.
3.2.53 42,255 7/18/2018 3.2.53 is deprecated because it is no longer maintained.
3.2.52 59,289 4/18/2018 3.2.52 is deprecated because it is no longer maintained.
3.2.50 145,670 2/19/2018 3.2.50 is deprecated because it is no longer maintained.
3.1.48 29,732 12/4/2017 3.1.48 is deprecated because it is no longer maintained.
3.0.47 3,962 11/15/2017 3.0.47 is deprecated because it is no longer maintained.
3.0.46 85,868 10/5/2017 3.0.46 is deprecated because it is no longer maintained.
2.0.29 166,010 6/24/2016 2.0.29 is deprecated because it is no longer maintained.