Itmo.Dev.Platform.Logging 1.2.451-alpha

Prefix Reserved
This is a prerelease version of Itmo.Dev.Platform.Logging.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Itmo.Dev.Platform.Logging --version 1.2.451-alpha
                    
NuGet\Install-Package Itmo.Dev.Platform.Logging -Version 1.2.451-alpha
                    
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="Itmo.Dev.Platform.Logging" Version="1.2.451-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Itmo.Dev.Platform.Logging" Version="1.2.451-alpha" />
                    
Directory.Packages.props
<PackageReference Include="Itmo.Dev.Platform.Logging" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Itmo.Dev.Platform.Logging --version 1.2.451-alpha
                    
#r "nuget: Itmo.Dev.Platform.Logging, 1.2.451-alpha"
                    
#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.
#:package Itmo.Dev.Platform.Logging@1.2.451-alpha
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Itmo.Dev.Platform.Logging&version=1.2.451-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Itmo.Dev.Platform.Logging&version=1.2.451-alpha&prerelease
                    
Install as a Cake Tool

Itmo.Dev.Platform.Common

Package contains methods to connect Serilog and Sink to Sentry.

Usage example:

builder.AddPlatformSentry();
builder.Host.AddPlatformSerilog(builder.Configuration);

// ...

var app = builder.Build();

app.UseRouting();
// UsePlatformSentryTracing should be placed right after UseRouting middleware
app.UsePlatformSentryTracing(builder.Configuration);

Sentry application settings example:

{
  "Sentry": {
    "Enabled": true,
    "Environment": "Production",
    "Dsn": "",
    "Debug": false,
    "TracesSampleRate": 1.0,
    "MinimumEventLevel": "Warning"
  }
}

Serilog application settings example:

{
  "Serilog": {
    "Using": [
      "Serilog.Sinks.Console",
      "Serilog.Sinks.File"
    ],
    "MinimumLevel": {
      "Default": "Verbose",
      "Override": {
        "Microsoft.Hosting.Lifetime": "Information",
        "Microsoft.AspNetCore": "Warning",
        "Microsoft.EntityFrameworkCore": "Warning",
        "Grpc.AspNetCore.Server.Model.Internal": "Information"
      }
    },
    "WriteTo": [
      {
        "Name": "Console",
        "Args": {
          "outputTemplate": "{Timestamp:T} [{Level:u3}] {SourceContext} {Message}{NewLine}{Exception}"
        }
      },
      {
        "Name": "File",
        "Args": {
          "path": "Serilogs/${ApplicationName}/AppLogs_.log",
          "rollingInterval": "Day",
          "outputTemplate": "{Timestamp:o} [{Level:u3}] {SourceContext} {Message}{NewLine}{Exception}",
          "retainedFileCountLimit": 30
        }
      }
    ]
  }
}

N.B.

Don't forget to add required Sinks:

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

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
1.2.468 55 8/16/2026
1.2.466 48 8/16/2026
1.2.451-alpha 55 8/16/2026
1.2.414 117 7/1/2026
1.2.412 103 6/30/2026
1.2.410 115 6/30/2026
1.2.406 108 6/30/2026
1.2.402 110 6/30/2026
1.2.398 118 6/30/2026
1.2.388 134 4/27/2026
1.2.384 130 4/11/2026
1.2.352 136 2/28/2026
1.2.350 132 2/28/2026
1.2.348 133 2/28/2026
1.2.308 317 10/9/2025
1.2.296 240 10/5/2025
1.2.275 217 5/10/2025
1.2.271 179 5/10/2025
1.2.228 259 10/31/2024
1.2.206 230 10/30/2024
Loading failed

Itmo.Dev.Platform