AvaloniaUI / avalonia-docs

https://docs.avaloniaui.net/docs/welcome
62 stars 207 forks source link

Add basic details on how to configure a custom log sink #472

Closed stevemonaco closed 6 months ago

stevemonaco commented 6 months ago

Custom log sinks were a requested topic in the community.

I did not add an actual implementation as basing off of TraceLogSink is ~150 LoC, plus adding StringBuilderCache. So instead of making a trimmed down version with less efficient string building, I linked to the TraceLogSink source.