BugsRadar.Log4Net
3.0.0.6
dotnet add package BugsRadar.Log4Net --version 3.0.0.6
NuGet\Install-Package BugsRadar.Log4Net -Version 3.0.0.6
<PackageReference Include="BugsRadar.Log4Net" Version="3.0.0.6" />
<PackageVersion Include="BugsRadar.Log4Net" Version="3.0.0.6" />
<PackageReference Include="BugsRadar.Log4Net" />
paket add BugsRadar.Log4Net --version 3.0.0.6
#r "nuget: BugsRadar.Log4Net, 3.0.0.6"
#:package BugsRadar.Log4Net@3.0.0.6
#addin nuget:?package=BugsRadar.Log4Net&version=3.0.0.6
#tool nuget:?package=BugsRadar.Log4Net&version=3.0.0.6
BugsRadar.Log4Net
log4net appender for BugsRadar - https://bugsradar.com/
Errors your application writes to log4net arrive in Telegram, Discord or Pushover, with the text, properties and the logger name. The package brings the BugsRadar package with it, so direct calls and the ILogger provider are there too.
Full documentation: https://bugsradar.com/docs/dotnet/log4net/
Install
dotnet add package BugsRadar.Log4Net
log4net.config
<log4net>
<appender name="BugsRadar" type="BugsRadar.Extensions.Log4Net.BugsRadarAppender, BugsRadar.Log4Net">
<apiKey value="${BUGSRADAR_KEY}" />
<environment value="Production" />
</appender>
<root>
<level value="INFO" />
<appender-ref ref="BugsRadar" />
</root>
</log4net>
${BUGSRADAR_KEY} is an environment variable: log4net substitutes it when it reads the file. Load the file as usual, for example with XmlConfigurator.Configure(new FileInfo("log4net.config")).
The API key is secret: use it only in code that runs on your servers. Never put it in a desktop app you ship to customers or users (WPF, WinForms) or in a public repository: anyone can take the key out of them.
What arrives
- Levels:
ERRORand above.<threshold value="WARN" />inside the appender lowers it. - log4net has no message templates, so an event without an exception is grouped by its text with numbers, ids and quoted values masked:
Order 42 failedandOrder 43 failedare one error with a count. LogManager.Shutdown()drains the queue for up to 10 seconds;LogManager.Flush(5000)waits for what is queued.- Delivery problems go to log4net's internal log (
LogLog), which writes errors and warnings to the console unless log4net runs in quiet mode.
Dependencies
log4net 3.4.0 and the BugsRadar package of the same version.
| 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. 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 | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. 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. |
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.0.6 | 132 | 10/1/2026 |
3.0.0.6: new property apiUrl, for a self-hosted BugsRadar only. The appender keeps out only the package's own logger, BugsRadar.Client; your own BugsRadar.* loggers are reported now. Requires BugsRadar 3.0.0.6, which fixes the ILogger provider and the casing of property names. 3.0.0.5: no code changes; the author of the package is now BistriySpzoo, the same as the owner on nuget.org. 3.0.0.4: no code changes; the README and the package links point to the new documentation pages at bugsradar.com. 3.0.0.3: first version. The BugsRadar appender for log4net, configured in log4net.config.