Camatsoft.TraceLog.AspNet
1.1.1
Prefix Reserved
dotnet add package Camatsoft.TraceLog.AspNet --version 1.1.1
NuGet\Install-Package Camatsoft.TraceLog.AspNet -Version 1.1.1
<PackageReference Include="Camatsoft.TraceLog.AspNet" Version="1.1.1" />
paket add Camatsoft.TraceLog.AspNet --version 1.1.1
#r "nuget: Camatsoft.TraceLog.AspNet, 1.1.1"
// Install Camatsoft.TraceLog.AspNet as a Cake Addin #addin nuget:?package=Camatsoft.TraceLog.AspNet&version=1.1.1 // Install Camatsoft.TraceLog.AspNet as a Cake Tool #tool nuget:?package=Camatsoft.TraceLog.AspNet&version=1.1.1
Description
Enhance Your ASP.NET Logging with CamatSoft.TraceLog.AspNet
CamatSoft.TraceLog.AspNet builds on the foundation of CamatSoft.TraceLog, offering seamless integration with ASP.NET . 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.
- Detailed request tracing : Gain valuable insights into your API's behavior for better diagnostics and performance tuning.
Streamline your ASP.NET logging experience with CamatSoft.TraceLog.AspNet, ensuring robust and transparent application monitoring, in fine.
TraceLog SDK for .NET by CamatSoft
Integrations | NuGet Version | NuGet Preview | Documentation |
---|---|---|---|
CamatSoft.TraceLog.AspNet |
DSN
Register on CamatSoft.TraceLog
DSN Test
https://pRGLY9uhyKPu4b44s3Pe6a6pk46NBbRz4b2E2RMpb648h8DR2N7K7qsb97XFYM2r@o20241101.tracelog.camatsoft.com/2024111101
Please use UseFileIO = true;
Extend
HttpApplication.UseTraceLog(string dsn)
HttpApplication.UseTraceLog(Action<TraceLogOptions> options)
Exemples
in Global.asax.cs (EntryPoint) :
protected void Application_Start()
{
...
this.UseTraceLog(options =>
{
options.Dsn = dsn;
options.UseFileIO = true;
options.ConfigureScope(scope =>
{
scope.SetTag("DT", DateTime.Now.ToString("yyyyMMdd_HHmmss"));
});
});
}
protected void Application_Error(object sender, EventArgs e)
{
...
Exception exception = this.Server.GetLastError();
TraceLogLoggerBuilder.TraceLogLogger.Log(DiagnosticLevel.Error, exception.GetType(), exception, this.Context);
}
in another file .cs :
public ActionResult Index()
{
string s = "tot";
bool b = bool.Parse(s);
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net46 is compatible. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.6
- 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.
Version | Downloads | Last updated |
---|---|---|
1.1.1 | 39 | 11/27/2024 |