dotnet / dotnet/winforms

Implement WinForms logging and unhandled-exception integration

Open
#14,959 0 comments 0 reactions 0 assignees View on GitHub
Review Issue
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
20h 23m
Merged PRs (30d)
103

Description

## Objective

Integrate standard `ILogger` usage with suitable debug and file-provider guidance, UI-thread exception routing, structured context, startup/shutdown flushing, and privacy-safe defaults. Reuse ecosystem providers where possible rather than creating unnecessary WinForms-specific logging infrastructure.

## Completion guidance

- Keep the implementation focused on the objective while allowing the assignee to improve the approach based on research.
- Document important decisions, rejected alternatives, dependencies, and follow-up work.
- Add or update tests and documentation appropriate to the work.
- Verify locally and in CI where the task changes code or generated artifacts.

Contributor guide

Open the contributing guide

Research direction

Start by researching the existing WinForms exception-routing and application-lifecycle entry points, then review standard ILogger usage and established file providers in the .NET ecosystem. Define completion through focused implementation, tests and documentation covering UI-thread exceptions, structured context, startup/shutdown flushing, privacy-safe defaults, and the documented design decisions.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, observability-sre
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.