Updated
This commit is contained in:
@@ -3585,46 +3585,6 @@ finally
|
||||
}
|
||||
```
|
||||
|
||||
## Debugging Logging Problems
|
||||
|
||||
Check diagnostics first:
|
||||
|
||||
```csharp
|
||||
var stats = logger.GetDiagnostics();
|
||||
|
||||
Console.WriteLine(
|
||||
$"Written: {stats.TotalLogged}");
|
||||
|
||||
Console.WriteLine(
|
||||
$"Dropped: {stats.TotalDropped}");
|
||||
```
|
||||
|
||||
If events are missing:
|
||||
|
||||
1. Check minimum log levels.
|
||||
2. Check flow filters.
|
||||
3. Check dropped counters.
|
||||
4. Check remote destination connectivity.
|
||||
5. Enable retry/failover.
|
||||
|
||||
## Summary
|
||||
|
||||
EonaCat.LogStack combines:
|
||||
|
||||
- High performance logging
|
||||
- Structured events
|
||||
- Multi-target flows
|
||||
- Runtime telemetry
|
||||
- Distributed tracing support
|
||||
- Diagnostics
|
||||
- Resilience features
|
||||
- Security-focused audit logging
|
||||
|
||||
The library is designed to scale from small console tools to distributed production services.
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Complete Code Examples
|
||||
|
||||
### Example 1: Production ASP.NET Core Application
|
||||
@@ -3976,11 +3936,26 @@ catch (Exception ex)
|
||||
}
|
||||
```
|
||||
|
||||
## Debugging Logging Problems
|
||||
|
||||
Check diagnostics first:
|
||||
|
||||
```csharp
|
||||
var stats = logger.GetDiagnostics();
|
||||
|
||||
Console.WriteLine(
|
||||
$"Written: {stats.TotalLogged}");
|
||||
|
||||
Console.WriteLine(
|
||||
$"Dropped: {stats.TotalDropped}");
|
||||
```
|
||||
|
||||
If events are missing:
|
||||
|
||||
1. Check minimum log levels.
|
||||
2. Check flow filters.
|
||||
3. Check dropped counters.
|
||||
4. Check remote destination connectivity.
|
||||
5. Enable retry/failover.
|
||||
|
||||
---
|
||||
|
||||
## Additional Resources
|
||||
|
||||
- **[GitHub Repository](https://git.saey.me/EonaCat/EonaCat.logstack)** - Source code and issues
|
||||
- **[NuGet Package](https://www.nuget.org/packages/EonaCat.LogStack)** - Official package
|
||||
- **[Supported Targets](#supported-targets)** - .NET versions and frameworks
|
||||
- **[Installation](#installation)** - Getting started guide
|
||||
|
||||
Reference in New Issue
Block a user