You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In my use case, I want to capture the logs in a circular buffer (reasonably small?) so that if something bad happens, I can get the contents (last few minutes, but it depends on the size of the buffer) and send them to a log-server.
Describe the solution you'd like
The WriteTo method waits forever, and never really exits (unless the Writer is closed). Instead, I'd want some method that writes (and "erases"?) the contents to a Writer, and then exits.
Describe alternatives you've considered
I considered (and rejected) a timer after which time I close the Writer, but time is not well defined here.
Additional context
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
In my use case, I want to capture the logs in a circular buffer (reasonably small?) so that if something bad happens, I can get the contents (last few minutes, but it depends on the size of the buffer) and send them to a log-server.
Describe the solution you'd like
The WriteTo method waits forever, and never really exits (unless the Writer is closed). Instead, I'd want some method that writes (and "erases"?) the contents to a Writer, and then exits.
Describe alternatives you've considered
I considered (and rejected) a timer after which time I close the Writer, but time is not well defined here.
Additional context
The text was updated successfully, but these errors were encountered: