Elmah.Io.Client 5.3.119-pre

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

Showing the top 20 packages that depend on Elmah.Io.Client.

Packages Downloads
Elmah.Io.AspNetCore
An elmah.io provider for ASP.NET Core
131
Elmah.Io.AspNetCore
An elmah.io provider for ASP.NET Core
133
Elmah.Io.AspNetCore
An elmah.io provider for ASP.NET Core
134
Elmah.Io.AspNetCore
An elmah.io provider for ASP.NET Core
135
Elmah.Io.AspNetCore
An elmah.io provider for ASP.NET Core
136
Elmah.Io.AspNetCore
An elmah.io provider for ASP.NET Core
137
Elmah.Io.AspNetCore
An elmah.io provider for ASP.NET Core
138
Elmah.Io.AspNetCore
An elmah.io provider for ASP.NET Core
139
Elmah.Io.AspNetCore
An elmah.io provider for ASP.NET Core
140
Elmah.Io.AspNetCore
An elmah.io provider for ASP.NET Core
141
Elmah.Io.AspNetCore
An elmah.io provider for ASP.NET Core
142
Elmah.Io.AspNetCore
An elmah.io provider for ASP.NET Core
143
Elmah.Io.AspNetCore
An elmah.io provider for ASP.NET Core
144

.NET Framework 4.5

.NET Standard 2.0

.NET Standard 1.1

.NET 8.0

.NET Standard 1.4

.NET Framework 4.6.1

.NET Framework 4.6

Version Downloads Last updated
6.0.142-pre 0 11/09/2026
6.0.141-pre 0 09/24/2026
6.0.140-pre 29 08/18/2026
6.0.138-pre 39 05/30/2026
6.0.136-pre 58 03/12/2026
6.0.135-pre 78 12/16/2025
6.0.133-pre 107 09/23/2025
5.3.131 85 09/23/2025
5.3.130-pre 115 07/14/2025
5.3.124-pre 153 05/20/2025
5.3.123-pre 116 05/20/2025
5.3.122-pre 143 05/20/2025
5.3.120-pre 137 05/20/2025
5.3.119-pre 152 04/30/2025
5.2.118 131 03/30/2025
5.2.117 128 03/30/2025
5.2.114 136 04/01/2025
5.1.76 142 03/30/2025
5.1.75 117 03/31/2025
5.0.66 139 03/30/2025
4.4.56 119 03/30/2025
4.3.43 131 03/30/2025
4.2.40 133 03/30/2025
4.1.36 132 03/30/2025
4.0.29 146 03/30/2025
3.12.19 128 03/30/2025
3.11.15 146 03/31/2025
3.10.10 135 03/31/2025
3.9.90 127 03/30/2025
3.8.86 132 03/30/2025
3.7.80 133 03/31/2025
3.7.79 130 03/30/2025
3.6.73 133 03/30/2025
3.5.68 129 03/30/2025
3.5.67 132 03/30/2025
3.4.63 135 03/30/2025
3.3.61 138 03/30/2025
3.3.58 121 03/30/2025
3.3.57 132 03/31/2025
3.2.54 137 03/30/2025
3.2.53 119 03/31/2025
3.2.52 154 03/31/2025
3.2.50 142 03/30/2025
3.1.48 143 03/30/2025
3.0.47 118 03/30/2025
3.0.46 111 03/30/2025
2.0.29 159 03/30/2025