Itmo.Dev.Platform.Logging
1.2.228
Prefix Reserved
dotnet add package Itmo.Dev.Platform.Logging --version 1.2.228
NuGet\Install-Package Itmo.Dev.Platform.Logging -Version 1.2.228
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.228" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Itmo.Dev.Platform.Logging --version 1.2.228
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Itmo.Dev.Platform.Logging, 1.2.228"
#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 Itmo.Dev.Platform.Logging as a Cake Addin #addin nuget:?package=Itmo.Dev.Platform.Logging&version=1.2.228 // Install Itmo.Dev.Platform.Logging as a Cake Tool #tool nuget:?package=Itmo.Dev.Platform.Logging&version=1.2.228
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.
-
net8.0
- Sentry.AspNetCore (>= 4.12.1)
- Sentry.AspNetCore.Grpc (>= 4.12.1)
- Sentry.Serilog (>= 4.12.1)
- Serilog (>= 3.1.1)
- Serilog.AspNetCore (>= 8.0.1)
- Serilog.Settings.Configuration (>= 8.0.0)
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 | 90 | 10/31/2024 | |
1.2.206 | 92 | 10/30/2024 | |
1.2.204 | 155 | 10/29/2024 | |
1.2.202 | 82 | 10/29/2024 | |
1.1.196 | 85 | 10/29/2024 | |
1.1.193 | 89 | 10/29/2024 | |
1.1.190 | 101 | 10/26/2024 | |
1.0.174 | 99 | 10/25/2024 | |
1.0.133 | 93 | 10/25/2024 | |
1.0.132 | 95 | 10/24/2024 | |
1.0.131 | 92 | 10/24/2024 | |
1.0.130 | 84 | 10/24/2024 | |
1.0.129 | 96 | 10/24/2024 | |
1.0.128 | 105 | 10/24/2024 | |
1.0.127 | 88 | 10/23/2024 | |
1.0.126 | 111 | 10/11/2024 | |
1.0.125 | 107 | 10/11/2024 | |
1.0.124 | 98 | 10/11/2024 | |
1.0.123 | 103 | 10/11/2024 | |
1.0.122 | 103 | 10/11/2024 | |
1.0.121 | 98 | 10/11/2024 | |
1.0.120 | 104 | 10/11/2024 | |
1.0.119 | 108 | 10/11/2024 | |
1.0.118 | 109 | 10/11/2024 | |
1.0.117 | 107 | 10/10/2024 | |
1.0.115 | 103 | 10/10/2024 | |
1.0.113 | 111 | 10/6/2024 | |
1.0.112 | 195 | 8/22/2024 | |
1.0.111 | 219 | 5/14/2024 | |
1.0.110 | 138 | 5/13/2024 | |
1.0.109 | 120 | 5/13/2024 | |
1.0.108 | 150 | 5/6/2024 | |
1.0.107 | 133 | 5/6/2024 | |
1.0.106 | 139 | 5/6/2024 | |
1.0.105 | 124 | 5/4/2024 | |
1.0.102 | 137 | 5/4/2024 | |
1.0.101 | 129 | 4/26/2024 | |
1.0.100 | 145 | 4/22/2024 | |
1.0.99 | 127 | 4/21/2024 | |
1.0.98 | 132 | 4/21/2024 | |
1.0.97 | 131 | 4/19/2024 | |
1.0.96 | 141 | 4/18/2024 | |
1.0.95 | 136 | 4/18/2024 | |
1.0.94 | 195 | 2/13/2024 | |
1.0.93 | 142 | 2/10/2024 | |
1.0.91 | 133 | 2/10/2024 | |
1.0.90 | 135 | 2/10/2024 | |
1.0.89 | 502 | 2/3/2024 | |
1.0.86 | 125 | 2/1/2024 | |
1.0.85 | 130 | 1/30/2024 | |
1.0.83 | 176 | 1/27/2024 | |
1.0.82 | 400 | 1/5/2024 | |
1.0.81 | 289 | 1/3/2024 | |
1.0.80 | 147 | 12/30/2023 | |
1.0.79 | 135 | 12/30/2023 | |
1.0.78 | 151 | 12/30/2023 | |
1.0.77 | 139 | 12/28/2023 | |
1.0.76 | 139 | 12/27/2023 | |
1.0.75 | 163 | 12/9/2023 | |
1.0.73 | 170 | 11/30/2023 | |
1.0.72 | 164 | 11/27/2023 | |
1.0.71 | 143 | 11/27/2023 | |
1.0.70 | 138 | 11/27/2023 | |
1.0.69 | 152 | 11/27/2023 | |
1.0.67 | 149 | 11/25/2023 | |
1.0.66 | 136 | 11/25/2023 | |
1.0.65 | 148 | 11/23/2023 | |
1.0.64 | 124 | 11/23/2023 | |
1.0.62 | 143 | 11/18/2023 | |
1.0.61 | 148 | 11/18/2023 | |
1.0.60 | 143 | 11/17/2023 | |
1.0.59 | 143 | 11/16/2023 | |
1.0.58 | 152 | 11/13/2023 | |
1.0.57 | 137 | 11/12/2023 | |
1.0.56 | 135 | 11/12/2023 | |
1.0.54 | 132 | 11/7/2023 | |
1.0.53 | 151 | 11/4/2023 | |
1.0.52 | 161 | 10/29/2023 | |
1.0.51 | 147 | 10/29/2023 | |
1.0.50 | 154 | 10/29/2023 | |
1.0.48 | 159 | 10/29/2023 |
Itmo.Dev.Platform