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.

Showing the top 3 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.6.1-beta 132 11/6/2019
3.6.0-beta 297 9/28/2019
3.5.0 10,616 8/22/2019
3.4.0 197 8/19/2019
3.3.0 5,794 8/2/2019
3.2.0 12,234 5/28/2019
3.1.0 4,178 5/6/2019
3.0.6 3,387 4/19/2019
3.0.5 351 4/16/2019
3.0.4 1,670 4/5/2019
3.0.3 6,804 3/28/2019
3.0.2 2,313 3/14/2019
3.0.1-preview 184 2/27/2019
3.0.0-preview 155 2/22/2019
2.2.3 7,382 2/14/2019
2.2.2 1,082 2/11/2019
2.2.1 2,192 2/4/2019
2.2.0 5,377 1/16/2019
2.1.1 5,275 12/27/2018
2.1.0 1,893 12/13/2018
2.0.1 3,857 12/1/2018
2.0.0 5,215 11/13/2018
1.6.2 3,540 10/24/2018
1.6.1 5,396 10/6/2018
1.6.0 1,174 9/29/2018
1.5.6 21,283 8/15/2018
1.5.5 3,469 7/23/2018
1.5.4 2,169 7/12/2018
1.5.3 737 7/10/2018
1.5.1 598 7/5/2018
1.5.0 5,486 6/18/2018
1.4.0 7,113 5/30/2018
1.3.0 5,248 5/15/2018
1.2.1 11,059 4/20/2018
1.2.0 5,943 4/12/2018
1.1.1 6,583 3/30/2018
1.1.0 2,781 3/14/2018
1.0.3 5,694 2/21/2018
1.0.2 2,315 2/6/2018
1.0.1 2,326 1/11/2018
1.0.0 478 1/3/2018
0.3.2 41,800 8/10/2016
0.3.2-beta 460 7/12/2016
0.3.1-beta 308 6/29/2016
0.3.0-beta 309 6/24/2016
0.2.0 1,034 6/8/2016
0.1.0 481 5/17/2016
Show less