serilog-sinks-richtextbox icon indicating copy to clipboard operation
serilog-sinks-richtextbox copied to clipboard

Consider implementing auto-scrolling of the RichTextBox contents

Open augustoproiete opened this issue 3 years ago • 1 comments

There seems to be a desire for AutoScrolling by a few users of the sink, @TonyValenti gave it a first pass with via https://github.com/serilog-contrib/serilog-sinks-richtextbox/pull/32 where the scrolling is controlling by the sink

Whilst I'm not 100% sure AutoScrolling is a job that a Serilog Sink should do, i.e. seems like this should be a responsibility of the control, it's worth discussing possible approaches and considering a follow-up PR to (perhaps) implement an extension method that enables AutoScrolling on a RichTextBox, or something along the lines of https://github.com/serilog-contrib/serilog-sinks-richtextbox/pull/32

augustoproiete avatar Jun 05 '22 18:06 augustoproiete

I made this library for an autoscrolling log text box. I'm not very familiar with RichTextBox and its pretty basic but you might get some ideas. https://github.com/imlokesh/SerilogTextBox

imlokesh avatar Sep 01 '22 04:09 imlokesh