Rollbar 1.1.1

Rollbar collects errors that happen in your application, notifies you, and analyzes them so you can debug and fix them.

There is a newer version of this package available.
See the version list below for details.
Install-Package Rollbar -Version 1.1.1
dotnet add package Rollbar --version 1.1.1
<PackageReference Include="Rollbar" Version="1.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Rollbar --version 1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Rollbar.NET

A .NET Rollbar Client that can be used in any application built on the following .NET versions: .NET Core 2.0+, .NET Standard 2.0+, .NET Full Framework 4.5+, and Xamarin.

Install

Nuget Package Manager:

Install-Package Rollbar

Blocking vs Non-Blocking Use

Normally, you want to use asynchronous logging, since it has virtually no instrumentational overhead on your application execution performance at runtime. It has a "fire and forget" approach to logging.

However, in some specific situations (such as while logging right before exiting an application), you may want to use it synchronously so that the application does not quit before the logging completes.

In case of a timeout, all the blocking log methods throw System.TimeoutException instead of gracefully completing the call. Therefore you might want to make all the blocking log calls within a try-catch block while catching System.TimeoutException specifically to handle a timeout case.

Basic Usage

  • Configure Rollbar with RollbarLocator.RollbarInstance.Configure(new RollbarConfig(&quot;POST_SERVER_ITEM_ACCESS_TOKEN&quot;))
  • Send errors (asynchronously) to Rollbar with RollbarLocator.RollbarInstance.Error(Exception)
  • Send messages (synchronously) to Rollbar with RollbarLocator.RollbarInstance.AsBlockingLogger(TimeSpan.FromSeconds(5)).Info(string)

Rollbar.NET

A .NET Rollbar Client that can be used in any application built on the following .NET versions: .NET Core 2.0+, .NET Standard 2.0+, .NET Full Framework 4.5+, and Xamarin.

Install

Nuget Package Manager:

Install-Package Rollbar

Blocking vs Non-Blocking Use

Normally, you want to use asynchronous logging, since it has virtually no instrumentational overhead on your application execution performance at runtime. It has a "fire and forget" approach to logging.

However, in some specific situations (such as while logging right before exiting an application), you may want to use it synchronously so that the application does not quit before the logging completes.

In case of a timeout, all the blocking log methods throw System.TimeoutException instead of gracefully completing the call. Therefore you might want to make all the blocking log calls within a try-catch block while catching System.TimeoutException specifically to handle a timeout case.

Basic Usage

  • Configure Rollbar with RollbarLocator.RollbarInstance.Configure(new RollbarConfig(&quot;POST_SERVER_ITEM_ACCESS_TOKEN&quot;))
  • Send errors (asynchronously) to Rollbar with RollbarLocator.RollbarInstance.Error(Exception)
  • Send messages (synchronously) to Rollbar with RollbarLocator.RollbarInstance.AsBlockingLogger(TimeSpan.FromSeconds(5)).Info(string)

Release Notes

New features and enhancements:

     #105: Truncate large payloads to ensure we don't drop them.
     #104: Support deploy tracking.
     #107: Xamarin Linker Behavior: Link All.
     #112: Add parameterless overload for AddRollbarLogger(...) that supplies a default filter.
     #111: Update Rollbar.NET documentation for ASP.NET Core to add RollbarLogger service registration.
     #103: Split out every sample app into its own solution.
     #106: Update to the latest Nuget packages.

NuGet packages (20)

Showing the top 5 NuGet packages that depend on Rollbar:

Package Downloads
Rollbar.NetCore.AspNet
Rollbar collects errors that happen in your application, notifies you, and analyzes them so you can debug and fix them.
Rollbar.PlugIns.Serilog
Rollbar collects errors that happen in your application, notifies you, and analyzes them so you can debug and fix them.
Serilog.Sinks.RollbarCom
A Rollbar sink for Serilog
Rollbar.PlugIns.NLog
Rollbar collects errors that happen in your application, notifies you, and analyzes them so you can debug and fix them.
Rollbar.Net.AspNet
Rollbar collects errors that happen in your application, notifies you, and analyzes them so you can debug and fix them.

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on Rollbar:

Repository Stars
obfuscar/obfuscar
Open source obfuscation tool for .NET assemblies
EDCD/EDDI
Companion application for Elite Dangerous
jexuswebserver/JexusManager
Jexus Manager http://jexusmanager.com

Version History

Version Downloads Last updated
3.14.0 253 10/22/2020
3.13.0-beta 194 9/11/2020
3.12.3 4,134 8/31/2020
3.12.2 5,619 7/21/2020
3.12.1 1,037 7/14/2020
3.12.0 13,707 5/18/2020
3.11.0 2,958 5/8/2020
3.10.0 1,603 4/24/2020
3.9.1 4,321 3/25/2020
3.9.0 1,083 3/21/2020
3.8.0 16,829 3/14/2020
3.7.1 20,194 1/29/2020
3.7.0 23,219 12/23/2019
3.6.3 5,460 11/27/2019
3.6.2 1,405 11/16/2019
3.6.1-beta 1,620 11/6/2019
3.6.0-beta 2,487 9/28/2019
3.5.0 62,071 8/22/2019
3.4.0 637 8/19/2019
3.3.0 11,476 8/2/2019
3.2.0 36,243 5/28/2019
3.1.0 6,582 5/6/2019
3.0.6 7,721 4/19/2019
3.0.5 541 4/16/2019
3.0.4 5,391 4/5/2019
3.0.3 10,757 3/28/2019
3.0.2 6,358 3/14/2019
3.0.1-preview 363 2/27/2019
3.0.0-preview 249 2/22/2019
2.2.3 16,458 2/14/2019
2.2.2 5,682 2/11/2019
2.2.1 3,527 2/4/2019
2.2.0 9,988 1/16/2019
2.1.1 8,140 12/27/2018
2.1.0 2,157 12/13/2018
2.0.1 5,026 12/1/2018
2.0.0 14,577 11/13/2018
1.6.2 3,881 10/24/2018
1.6.1 7,186 10/6/2018
1.6.0 1,300 9/29/2018
1.5.6 29,664 8/15/2018
1.5.5 7,615 7/23/2018
1.5.4 3,170 7/12/2018
1.5.3 1,015 7/10/2018
1.5.1 744 7/5/2018
1.5.0 7,599 6/18/2018
1.4.0 9,323 5/30/2018
1.3.0 6,541 5/15/2018
1.2.1 14,328 4/20/2018
1.2.0 8,551 4/12/2018
1.1.1 10,261 3/30/2018
1.1.0 3,099 3/14/2018
1.0.3 6,623 2/21/2018
1.0.2 2,453 2/6/2018
1.0.1 3,356 1/11/2018
1.0.0 620 1/3/2018
0.3.2 57,145 8/10/2016
0.3.2-beta 590 7/12/2016
0.3.1-beta 421 6/29/2016
0.3.0-beta 428 6/24/2016
0.2.0 1,292 6/8/2016
0.1.0 673 5/17/2016
Show less