refactor: replace Console.WriteLine with DiagnosticLog service
All checks were successful
CI / Build (Linux) (push) Successful in 21s
All checks were successful
CI / Build (Linux) (push) Successful in 21s
Replace 495+ Console.WriteLine debug statements across handlers, dispatching, services, views, and window components with centralized DiagnosticLog service for proper logging infrastructure. Add new DiagnosticLog.cs service with Debug/Error methods to eliminate debug logging pollution in production code.
This commit is contained in:
@@ -91,7 +91,7 @@ public class FilePickerService : IFilePicker
|
||||
if (tool == DialogTool.None)
|
||||
{
|
||||
// Fall back to console path input
|
||||
Console.WriteLine("No file dialog available. Please enter file path:");
|
||||
DiagnosticLog.Warn("FilePickerService", "No file dialog available. Please enter file path:");
|
||||
var path = Console.ReadLine();
|
||||
if (!string.IsNullOrEmpty(path) && File.Exists(path))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user