feat(logs): add log4net integration - #5172
Merged
Merged
@sentry/warden / warden
completed
Jul 16, 2026 in 0s
1 issue
Low
Potential NullReferenceException when loggingEvent.Level is null - `src/Sentry.Log4Net/LevelMapping.cs:38`
The >= comparison operators will throw a NullReferenceException if loggingEvent.Level is null, unlike the existing ToSentryLevel and ToBreadcrumbLevel methods that use null-safe == comparisons. Consider adding a null check: var level when level is null => null, as the first pattern.
4 skills analyzed
| Skill | Findings | Duration | Cost |
|---|---|---|---|
| security-review | 0 | 1m 15s | $0.37 |
| code-review | 0 | 3m 52s | $2.01 |
| find-bugs | 1 | 7m 39s | $4.60 |
| gha-security-review | 0 | 6m 47s | $0.52 |
⏱ 19m 33s · 2.6M in / 126.3k out · $7.50
Loading