Camatsoft.TraceLog.AspNetCore
4.1.2
Prefix Reserved
dotnet add package Camatsoft.TraceLog.AspNetCore --version 4.1.2
NuGet\Install-Package Camatsoft.TraceLog.AspNetCore -Version 4.1.2
<PackageReference Include="Camatsoft.TraceLog.AspNetCore" Version="4.1.2" />
paket add Camatsoft.TraceLog.AspNetCore --version 4.1.2
#r "nuget: Camatsoft.TraceLog.AspNetCore, 4.1.2"
// Install Camatsoft.TraceLog.AspNetCore as a Cake Addin #addin nuget:?package=Camatsoft.TraceLog.AspNetCore&version=4.1.2 // Install Camatsoft.TraceLog.AspNetCore as a Cake Tool #tool nuget:?package=Camatsoft.TraceLog.AspNetCore&version=4.1.2
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 | Documentation |
---|---|---|
CamatSoft.TraceLog.AspNetCore |
DSN
Register on CamatSoft.TraceLog (https://tracelog.camatsoft.com)
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.SetExtra("MyExtra", "MyValue");
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. 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. |
.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.
# Release Notes
## v4.1.2
- Add Request.Browser
- Add ServerVariables
- Add Request.ClientOS
## v4.1.1
- Use CamatSoft.TraceLog
- Multi-Target Framework Support: Added compatibility with .NET 5.0+ to ensure wider usage across various .NET projects.
- Compatibility
## v3.2.1
- Use CamatSoft.TraceLog.NetCore
## v3.2.0
- Multi-Project Support: Enhanced support for multiple projects, enabling seamless integration across various solutions.
## v3.1.0
- Framework Update: Updated framework support for improved stability and compatibility.
## v2.0.0
- Major Framework Change: Refactored and optimized core framework for better performance.
## v1.0.0
- Initial Release: The first release of the project with core functionality.