PC.Sentry.Logger 1.0.1

dotnet add package PC.Sentry.Logger --version 1.0.1
NuGet\Install-Package PC.Sentry.Logger -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PC.Sentry.Logger" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PC.Sentry.Logger --version 1.0.1
#r "nuget: PC.Sentry.Logger, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PC.Sentry.Logger as a Cake Addin
#addin nuget:?package=PC.Sentry.Logger&version=1.0.1

// Install PC.Sentry.Logger as a Cake Tool
#tool nuget:?package=PC.Sentry.Logger&version=1.0.1

Description

A SentrySdk wrapper for NET MAUI project.

How to use:

Only add a single code line at CreateMauiApp method:

builder.Logging.AddPcLogger();

then initialize with Dns and environment information.

LoggingBuilder.Init("[Dns]", "[Environment]");

To log an exception:

logger.LogError(new ArgumentNullException(), "A message with param {arg1} and {arg2}", arg1, arg2);

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on PC.Sentry.Logger:

Package Downloads
PC.Framework

Getting MAUI, Reactive, and Prism work together

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 90 5/13/2024
1.0.0 68 5/13/2024