Itmo.Dev.Platform.Logging 1.0.119

Prefix Reserved
Suggested Alternatives

Itmo.Dev.Platform.Observability

Additional Details

Logging configuration and more observability configurations are now provided via Observability package

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.0.119
                    
NuGet\Install-Package Itmo.Dev.Platform.Logging -Version 1.0.119
                    
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.0.119" />
                    
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.0.119" />
                    
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.0.119
                    
#r "nuget: Itmo.Dev.Platform.Logging, 1.0.119"
                    
#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.
#addin nuget:?package=Itmo.Dev.Platform.Logging&version=1.0.119
                    
Install Itmo.Dev.Platform.Logging as a Cake Addin
#tool nuget:?package=Itmo.Dev.Platform.Logging&version=1.0.119
                    
Install Itmo.Dev.Platform.Logging 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 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.  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. 
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.228 120 10/31/2024
1.2.206 106 10/30/2024
1.2.204 169 10/29/2024 1.2.204 is deprecated because it is no longer maintained.
1.2.202 94 10/29/2024 1.2.202 is deprecated because it is no longer maintained.
1.1.196 100 10/29/2024 1.1.196 is deprecated because it is no longer maintained.
1.1.193 102 10/29/2024 1.1.193 is deprecated because it is no longer maintained.
1.1.190 117 10/26/2024 1.1.190 is deprecated because it is no longer maintained.
1.0.174 118 10/25/2024 1.0.174 is deprecated because it is no longer maintained.
1.0.133 109 10/25/2024 1.0.133 is deprecated because it is no longer maintained.
1.0.132 112 10/24/2024 1.0.132 is deprecated because it is no longer maintained.
1.0.131 109 10/24/2024 1.0.131 is deprecated because it is no longer maintained.
1.0.130 101 10/24/2024 1.0.130 is deprecated because it is no longer maintained.
1.0.129 116 10/24/2024 1.0.129 is deprecated because it is no longer maintained.
1.0.128 122 10/24/2024 1.0.128 is deprecated because it is no longer maintained.
1.0.127 105 10/23/2024 1.0.127 is deprecated because it is no longer maintained.
1.0.126 122 10/11/2024 1.0.126 is deprecated because it is no longer maintained.
1.0.125 120 10/11/2024 1.0.125 is deprecated because it is no longer maintained.
1.0.124 113 10/11/2024 1.0.124 is deprecated because it is no longer maintained.
1.0.123 120 10/11/2024 1.0.123 is deprecated because it is no longer maintained.
1.0.122 119 10/11/2024 1.0.122 is deprecated because it is no longer maintained.
1.0.121 114 10/11/2024 1.0.121 is deprecated because it is no longer maintained.
1.0.120 122 10/11/2024 1.0.120 is deprecated because it is no longer maintained.
1.0.119 124 10/11/2024 1.0.119 is deprecated because it is no longer maintained.
1.0.118 125 10/11/2024 1.0.118 is deprecated because it is no longer maintained.
1.0.117 122 10/10/2024 1.0.117 is deprecated because it is no longer maintained.
1.0.115 116 10/10/2024 1.0.115 is deprecated because it is no longer maintained.
1.0.113 125 10/6/2024 1.0.113 is deprecated because it is no longer maintained.
1.0.112 210 8/22/2024 1.0.112 is deprecated because it is no longer maintained.
1.0.111 235 5/14/2024 1.0.111 is deprecated because it is no longer maintained.
1.0.110 148 5/13/2024 1.0.110 is deprecated because it is no longer maintained.
1.0.109 132 5/13/2024 1.0.109 is deprecated because it is no longer maintained.
1.0.108 161 5/6/2024 1.0.108 is deprecated because it is no longer maintained.
1.0.107 142 5/6/2024 1.0.107 is deprecated because it is no longer maintained.
1.0.106 149 5/6/2024 1.0.106 is deprecated because it is no longer maintained.
1.0.105 136 5/4/2024 1.0.105 is deprecated because it is no longer maintained.
1.0.102 151 5/4/2024 1.0.102 is deprecated because it is no longer maintained.
1.0.101 141 4/26/2024 1.0.101 is deprecated because it is no longer maintained.
1.0.100 155 4/22/2024 1.0.100 is deprecated because it is no longer maintained.
1.0.99 135 4/21/2024 1.0.99 is deprecated because it is no longer maintained.
1.0.98 140 4/21/2024 1.0.98 is deprecated because it is no longer maintained.
1.0.97 137 4/19/2024 1.0.97 is deprecated because it is no longer maintained.
1.0.96 149 4/18/2024 1.0.96 is deprecated because it is no longer maintained.
1.0.95 146 4/18/2024 1.0.95 is deprecated because it is no longer maintained.
1.0.94 204 2/13/2024 1.0.94 is deprecated because it is no longer maintained.
1.0.93 155 2/10/2024 1.0.93 is deprecated because it is no longer maintained.
1.0.91 144 2/10/2024 1.0.91 is deprecated because it is no longer maintained.
1.0.90 146 2/10/2024 1.0.90 is deprecated because it is no longer maintained.
1.0.89 513 2/3/2024 1.0.89 is deprecated because it is no longer maintained.
1.0.86 135 2/1/2024 1.0.86 is deprecated because it is no longer maintained.
1.0.85 143 1/30/2024 1.0.85 is deprecated because it is no longer maintained.
1.0.83 185 1/27/2024 1.0.83 is deprecated because it is no longer maintained.
1.0.82 410 1/5/2024 1.0.82 is deprecated because it is no longer maintained.
1.0.81 300 1/3/2024 1.0.81 is deprecated because it is no longer maintained.
1.0.80 157 12/30/2023 1.0.80 is deprecated because it is no longer maintained.
1.0.79 147 12/30/2023 1.0.79 is deprecated because it is no longer maintained.
1.0.78 163 12/30/2023 1.0.78 is deprecated because it is no longer maintained.
1.0.77 151 12/28/2023 1.0.77 is deprecated because it is no longer maintained.
1.0.76 148 12/27/2023 1.0.76 is deprecated because it is no longer maintained.
1.0.75 173 12/9/2023 1.0.75 is deprecated because it is no longer maintained.
1.0.73 174 11/30/2023 1.0.73 is deprecated because it is no longer maintained.
1.0.72 169 11/27/2023 1.0.72 is deprecated because it is no longer maintained.
1.0.71 148 11/27/2023 1.0.71 is deprecated because it is no longer maintained.
1.0.70 149 11/27/2023 1.0.70 is deprecated because it is no longer maintained.
1.0.69 159 11/27/2023 1.0.69 is deprecated because it is no longer maintained.
1.0.67 155 11/25/2023 1.0.67 is deprecated because it is no longer maintained.
1.0.66 141 11/25/2023 1.0.66 is deprecated because it is no longer maintained.
1.0.65 155 11/23/2023 1.0.65 is deprecated because it is no longer maintained.
1.0.64 131 11/23/2023 1.0.64 is deprecated because it is no longer maintained.
1.0.62 147 11/18/2023 1.0.62 is deprecated because it is no longer maintained.
1.0.61 152 11/18/2023 1.0.61 is deprecated because it is no longer maintained.
1.0.60 147 11/17/2023 1.0.60 is deprecated because it is no longer maintained.
1.0.59 148 11/16/2023 1.0.59 is deprecated because it is no longer maintained.
1.0.58 161 11/13/2023 1.0.58 is deprecated because it is no longer maintained.
1.0.57 142 11/12/2023 1.0.57 is deprecated because it is no longer maintained.
1.0.56 140 11/12/2023 1.0.56 is deprecated because it is no longer maintained.
1.0.54 137 11/7/2023 1.0.54 is deprecated because it is no longer maintained.
1.0.53 157 11/4/2023 1.0.53 is deprecated because it is no longer maintained.
1.0.52 167 10/29/2023 1.0.52 is deprecated because it is no longer maintained.
1.0.51 155 10/29/2023 1.0.51 is deprecated because it is no longer maintained.
1.0.50 158 10/29/2023 1.0.50 is deprecated because it is no longer maintained.
1.0.48 162 10/29/2023 1.0.48 is deprecated because it is no longer maintained.

Itmo.Dev.Platform