statiqdev / Statiq.Framework

A flexible and extensible static content generation framework for .NET.
https://statiq.dev/framework
MIT License
426 stars 74 forks source link

Bug when debug logging and attaching #176

Closed daveaglick closed 3 years ago

daveaglick commented 3 years ago

When a debugger is attached, the DebugLogger gets added. This logger sends message to trace, and since we also add the DiagnosticsTraceListener those message get routed back to the loggers (including the DebugLogger) and recursion occurs.