Skip to content

feat: capture Console and Trace/Debug output into file log pipeline#27

Merged
Redth merged 2 commits into
mainfrom
feature/capture-console-debug-output
Mar 5, 2026
Merged

feat: capture Console and Trace/Debug output into file log pipeline#27
Redth merged 2 commits into
mainfrom
feature/capture-console-debug-output

Conversation

@Redth
Copy link
Copy Markdown
Owner

@Redth Redth commented Mar 5, 2026

Add ConsoleLogCapture that tees Console.Out, Console.Error, and Trace/Debug output through to the FileLogWriter while preserving original stream output. Entries are tagged with source 'console.out', 'console.error', or 'trace' for filtering.

Enabled by default via AgentOptions.CaptureConsoleOutput. Wired into both MAUI and GTK agent registration paths.

Redth and others added 2 commits March 5, 2026 10:15
Add ConsoleLogCapture that tees Console.Out, Console.Error, and
Trace/Debug output through to the FileLogWriter while preserving
original stream output. Entries are tagged with source 'console.out',
'console.error', or 'trace' for filtering.

Enabled by default via AgentOptions.CaptureConsoleOutput. Wired into
both MAUI and GTK agent registration paths.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Replace single CaptureConsoleOutput bool with three independent options:
- CaptureILogger: opt out of registering FileLogProvider as ILoggerProvider
- CaptureConsole: opt out of Console.Out/Error redirection
- CaptureTrace: opt out of Trace/Debug listener

All default to true. EnableFileLogging remains the master switch.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Redth Redth merged commit ac620b0 into main Mar 5, 2026
2 checks passed
@Redth Redth deleted the feature/capture-console-debug-output branch March 5, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant