serilog-contrib / serilog-sinks-richtextbox

A Serilog sink that writes log events to a WPF RichTextBox control with colors and theme support
Apache License 2.0
108 stars 25 forks source link

Avalonia support #27

Open waylaa opened 2 years ago

waylaa commented 2 years ago

Will there be any support for Avalonia in the near future?

augustoproiete commented 2 years ago

I'd certainly welcome a pull-request that adds support for Avalonia, if you or anyone in the community wants to give it a shot.

Avalonia is not something I use in my day-to-day, so I personally don't have plans to work on this in the short-term, but would be happy to collaborate with someone that wants to take this forward.

TonyValenti commented 2 years ago

@Whatareyoulaughingat - Is your company willing to sponsor an avalonia logger? Price would be in the $1-3k range. If so, I'm interested.

zflemingg1 commented 1 year ago

Just wondering if this supports Avalonia yet?

augustoproiete commented 1 year ago

@zflemingg1 No support for Avalonia yet. PR's welcome

moon6969 commented 9 months ago

Serilog.Sinks.Observable seems to work quite well in my protoype Avalonia v11 app. IObservable.Subscribe in the WriteTo.Observers sink sends events to a DynamicData.SourceCache. SourceCache.Connect can sync the sequence of events to a ReadOnlyObservableCollection. A DataGrid can bind to the ReadOnlyObservableCollection.