Elmah.Io.Client 4.3.43

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET Standard 1.1 .NET Framework 4.5
dotnet add package Elmah.Io.Client --version 4.3.43
NuGet\Install-Package Elmah.Io.Client -Version 4.3.43
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="4.3.43" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Elmah.Io.Client --version 4.3.43
#r "nuget: Elmah.Io.Client, 4.3.43"
#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 Elmah.Io.Client as a Cake Addin
#addin nuget:?package=Elmah.Io.Client&version=4.3.43

// Install Elmah.Io.Client as a Cake Tool
#tool nuget:?package=Elmah.Io.Client&version=4.3.43

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.

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 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.1 netstandard1.2 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
Windows Phone wpa81
Windows Store netcore netcore45 netcore451
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 (21)

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

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

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.).

Elmah.Io.AspNetCore The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

An elmah.io provider for ASP.NET Core

Serilog.Sinks.ElmahIo

Serilog sink that writes to elmah.io

Elmah.Io.Extensions.Logging The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

An elmah.io provider for Microsoft.Extensions.Logging

Elmah.Io.WebApi The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

ELMAH error logger for sending errors to elmah.io from ASP.NET Web API. This package include initial configuration for getting up and running with elmah.io.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.3.43 6,638 9/9/2022
4.2.40 21,736 6/15/2022
4.1.36 85,264 12/15/2021
4.0.29 107,293 8/17/2021
3.12.19 8,204 6/8/2021
3.11.15 25,358 5/6/2021
3.10.10 77,807 1/12/2021
3.9.90 55,771 8/12/2020
3.8.86 23,371 6/23/2020
3.7.80 122,785 2/29/2020
3.7.79 63,651 1/20/2020
3.6.73 36,330 9/17/2019
3.5.68 6,759 8/16/2019
3.5.67 32,105 8/12/2019
3.4.63 30,926 3/18/2019
3.3.61 43,181 1/23/2019
3.3.58 69,465 12/12/2018
3.3.57 2,046 12/3/2018
3.2.54 42,603 10/25/2018
3.2.53 33,189 7/18/2018
3.2.52 50,594 4/18/2018
3.2.50 102,743 2/19/2018
3.1.48 24,502 12/4/2017
3.0.47 2,844 11/15/2017
3.0.46 63,958 10/5/2017
2.0.29 135,496 6/24/2016