Rollbar 1.1.1
See the version list below for details.
dotnet add package Rollbar --version 1.1.1
NuGet\Install-Package Rollbar -Version 1.1.1
<PackageReference Include="Rollbar" Version="1.1.1" />
paket add Rollbar --version 1.1.1
#r "nuget: Rollbar, 1.1.1"
// Install Rollbar as a Cake Addin #addin nuget:?package=Rollbar&version=1.1.1 // Install Rollbar as a Cake Tool #tool nuget:?package=Rollbar&version=1.1.1
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("POST_SERVER_ITEM_ACCESS_TOKEN"))
- Send errors (asynchronously) to Rollbar with
RollbarLocator.RollbarInstance.Error(Exception)
- Send messages (synchronously) to Rollbar with
RollbarLocator.RollbarInstance.AsBlockingLogger(TimeSpan.FromSeconds(5)).Info(string)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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 was computed. 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. |
.NET Core | netcoreapp2.0 is compatible. 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 | net45 is compatible. net451 is compatible. net452 is compatible. net46 is compatible. net461 is compatible. net462 is compatible. net463 was computed. net47 is compatible. net471 is compatible. 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. |
-
.NETCoreApp 2.0
- Microsoft.AspNetCore.Http (>= 2.0.2)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.0.2)
- Microsoft.Extensions.Configuration (>= 2.0.1)
- Microsoft.Extensions.Configuration.Binder (>= 2.0.1)
- Microsoft.Extensions.Configuration.FileExtensions (>= 2.0.1)
- Microsoft.Extensions.Configuration.Json (>= 2.0.1)
- Microsoft.Extensions.Logging (>= 2.0.1)
- Newtonsoft.Json (>= 11.0.1)
-
.NETFramework 4.5
- Newtonsoft.Json (>= 11.0.1)
-
.NETFramework 4.5.1
- Newtonsoft.Json (>= 11.0.1)
-
.NETFramework 4.5.2
- Newtonsoft.Json (>= 11.0.1)
-
.NETFramework 4.6
- Newtonsoft.Json (>= 11.0.1)
-
.NETFramework 4.6.1
- Newtonsoft.Json (>= 11.0.1)
-
.NETFramework 4.6.2
- Newtonsoft.Json (>= 11.0.1)
-
.NETFramework 4.7
- Newtonsoft.Json (>= 11.0.1)
-
.NETFramework 4.7.1
- Newtonsoft.Json (>= 11.0.1)
-
.NETStandard 2.0
- Microsoft.AspNetCore.Http (>= 2.0.2)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.0.2)
- Microsoft.Extensions.Configuration (>= 2.0.1)
- Microsoft.Extensions.Configuration.Binder (>= 2.0.1)
- Microsoft.Extensions.Configuration.FileExtensions (>= 2.0.1)
- Microsoft.Extensions.Configuration.Json (>= 2.0.1)
- Microsoft.Extensions.Logging (>= 2.0.1)
- Newtonsoft.Json (>= 11.0.1)
NuGet packages (23)
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. |
|
Rollbar.NetPlatformExtensions
Rollbar collects errors that happen in your application, notifies you, and analyzes them so you can debug and fix them. |
|
Rollbar.AppSettings.Json
Rollbar collects errors that happen in your application, notifies you, and analyzes them so you can debug and fix them. |
|
Rollbar.Deploys
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 |
---|---|
EDCD/EDDI
Companion application for Elite Dangerous
|
|
jexuswebserver/JexusManager
Jexus Manager http://jexusmanager.com
|
|
SharebookBR/sharebook-backend
Projeto backend de código livre para o app Sharebook.
|
Version | Downloads | Last updated |
---|---|---|
5.2.2 | 54,828 | 3/21/2024 |
5.2.0 | 673,159 | 5/17/2022 |
5.1.3 | 235,225 | 4/1/2022 |
5.1.2 | 9,561 | 3/15/2022 |
5.1.1 | 101,003 | 2/10/2022 |
5.1.0 | 7,360 | 2/9/2022 |
5.0.5-beta | 3,761 | 11/5/2021 |
5.0.4-beta | 1,510 | 10/14/2021 |
5.0.3-beta | 1,507 | 10/6/2021 |
5.0.2-beta | 6,235 | 9/17/2021 |
5.0.1-beta | 1,390 | 9/14/2021 |
5.0.0-beta | 1,435 | 8/27/2021 |
4.0.3 | 769,449 | 3/30/2021 |
4.0.2 | 3,750 | 3/24/2021 |
4.0.1 | 5,079 | 3/9/2021 |
4.0.0 | 36,836 | 2/10/2021 |
3.14.1 | 13,820 | 1/28/2021 |
3.14.0 | 139,030 | 10/22/2020 |
3.13.0-beta | 1,888 | 9/11/2020 |
3.12.3 | 15,900 | 8/31/2020 |
3.12.2 | 18,310 | 7/21/2020 |
3.12.1 | 3,120 | 7/14/2020 |
3.12.0 | 214,772 | 5/18/2020 |
3.11.0 | 11,482 | 5/8/2020 |
3.10.0 | 3,645 | 4/24/2020 |
3.9.1 | 7,083 | 3/25/2020 |
3.9.0 | 2,546 | 3/21/2020 |
3.8.0 | 49,092 | 3/14/2020 |
3.7.1 | 49,780 | 1/29/2020 |
3.7.0 | 115,352 | 12/23/2019 |
3.6.3 | 8,452 | 11/27/2019 |
3.6.2 | 3,711 | 11/16/2019 |
3.6.1-beta | 2,572 | 11/6/2019 |
3.6.0-beta | 5,249 | 9/28/2019 |
3.5.0 | 145,625 | 8/22/2019 |
3.4.0 | 2,164 | 8/19/2019 |
3.3.0 | 15,015 | 8/2/2019 |
3.2.0 | 88,067 | 5/28/2019 |
3.1.0 | 12,607 | 5/6/2019 |
3.0.6 | 23,699 | 4/19/2019 |
3.0.5 | 2,023 | 4/16/2019 |
3.0.4 | 7,964 | 4/5/2019 |
3.0.3 | 14,850 | 3/28/2019 |
3.0.2 | 21,052 | 3/14/2019 |
3.0.1-preview | 682 | 2/27/2019 |
3.0.0-preview | 544 | 2/22/2019 |
2.2.3 | 34,057 | 2/14/2019 |
2.2.2 | 43,955 | 2/11/2019 |
2.2.1 | 5,849 | 2/4/2019 |
2.2.0 | 50,803 | 1/16/2019 |
2.1.1 | 16,023 | 12/27/2018 |
2.1.0 | 3,888 | 12/13/2018 |
2.0.1 | 7,082 | 12/1/2018 |
2.0.0 | 34,849 | 11/13/2018 |
1.6.2 | 7,812 | 10/24/2018 |
1.6.1 | 9,199 | 10/6/2018 |
1.6.0 | 1,961 | 9/29/2018 |
1.5.6 | 45,731 | 8/15/2018 |
1.5.5 | 13,017 | 7/23/2018 |
1.5.4 | 4,933 | 7/12/2018 |
1.5.3 | 2,150 | 7/10/2018 |
1.5.1 | 1,473 | 7/5/2018 |
1.5.0 | 19,451 | 6/18/2018 |
1.4.0 | 16,468 | 5/30/2018 |
1.3.0 | 12,343 | 5/15/2018 |
1.2.1 | 24,216 | 4/20/2018 |
1.2.0 | 9,675 | 4/12/2018 |
1.1.1 | 17,938 | 3/30/2018 |
1.1.0 | 4,231 | 3/14/2018 |
1.0.3 | 14,232 | 2/21/2018 |
1.0.2 | 4,192 | 2/6/2018 |
1.0.1 | 5,428 | 1/11/2018 |
1.0.0 | 2,233 | 1/3/2018 |
0.3.2 | 99,339 | 8/10/2016 |
0.3.2-beta | 1,090 | 7/12/2016 |
0.3.1-beta | 890 | 6/29/2016 |
0.3.0-beta | 904 | 6/24/2016 |
0.2.0 | 2,092 | 6/8/2016 |
0.1.0 | 1,462 | 5/17/2016 |
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.