Camatsoft.TraceLog.AspNetCore
4.1.1
Prefix Reserved
dotnet add package Camatsoft.TraceLog.AspNetCore --version 4.1.1
NuGet\Install-Package Camatsoft.TraceLog.AspNetCore -Version 4.1.1
<PackageReference Include="Camatsoft.TraceLog.AspNetCore" Version="4.1.1" />
paket add Camatsoft.TraceLog.AspNetCore --version 4.1.1
#r "nuget: Camatsoft.TraceLog.AspNetCore, 4.1.1"
// Install Camatsoft.TraceLog.AspNetCore as a Cake Addin #addin nuget:?package=Camatsoft.TraceLog.AspNetCore&version=4.1.1 // Install Camatsoft.TraceLog.AspNetCore as a Cake Tool #tool nuget:?package=Camatsoft.TraceLog.AspNetCore&version=4.1.1
Description
Enhance Your ASP.NET Core Logging with CamatSoft.TraceLog.AspNetCore
CamatSoft.TraceLog.AspNetCore builds on the foundation of CamatSoft.TraceLog, offering seamless integration with ASP.NET Core. This advanced layer provides:
- Out-of-the-box middleware support : Effortlessly capture HTTP requests, responses, and exceptions.
- Customizable logging filters : Tailor what gets logged based on endpoints, status codes, or user roles.
- Integrated dependency injection : Simplifies configuration and service registration in your ASP.NET Core pipeline.
- Detailed request tracing : Gain valuable insights into your API's behavior for better diagnostics and performance tuning.
Streamline your ASP.NET Core logging experience with CamatSoft.TraceLog.AspNetCore, ensuring robust and transparent application monitoring, in fine.
TraceLog SDK for .NET by CamatSoft
Integrations | NuGet Version | NuGet Preview | Documentation |
---|---|---|---|
CamatSoft.TraceLog.AspNetCore |
DSN
Register on CamatSoft.TraceLog
DSN Test
https://pRGLY9uhyKPu4b44s3Pe6a6pk46NBbRz4b2E2RMpb648h8DR2N7K7qsb97XFYM2r@o20241101.tracelog.camatsoft.com/2024111101
Please use UseFileIO = true;
Extend
((WebApplicationBuilder)builder).WebHost.UseTraceLog(string dsn)
((WebApplicationBuilder)builder).WebHost.UseTraceLog(Action<TraceLogOptions> options)
Exemples
in Program.cs (EntryPoint) :
builder.WebHost.UseTraceLog(options => {
options.Dsn = "https://azerty@o0000.tracelog.camatsoft.com/999999";
options.UseFileIO = true;
options.ConfigureScope(scope =>
{
scope.SetTag("MyTag", "MyValue");
});
});
in another file .cs :
public async Task<ActionResult> GetError500()
{
string s = "tot";
bool b = bool.Parse(s);
string version = "Error test";
return Ok(version);
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. 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 is compatible. 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 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 is compatible. |
.NET Core | netcoreapp3.0 is compatible. netcoreapp3.1 was computed. |
-
.NETCoreApp 3.0
- Camatsoft.TraceLog (>= 4.1.1)
-
net5.0
- Camatsoft.TraceLog (>= 4.1.1)
-
net6.0
- Camatsoft.TraceLog (>= 4.1.1)
-
net7.0
- Camatsoft.TraceLog (>= 4.1.1)
-
net8.0
- Camatsoft.TraceLog (>= 4.1.1)
-
net9.0
- Camatsoft.TraceLog (>= 4.1.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.