- .gitignore: +Logs

- Program.cs: +xLoggingService، +AddXTelemetryLogger، +AddXTelemetry
- Startup.cs: +UseXRequestLogger (non-development)
- xAiApi.csproj: +xLoggingService reference
This commit is contained in:
2026-11-09 12:50:22 +03:30
parent c24c14eb74
commit 5656ec07d5
4 changed files with 27 additions and 5 deletions
+7
View File
@@ -271,6 +271,13 @@ namespace xAiApi
// Using Routing ...
app.UseRouting();
//
// Using Request Logging ...
if (!isDevelopmentEnvironment)
{
app.UseXRequestLogger();
}
//
// Use xIdentityService (Authentication) ...
app.UseXIdentityService();