Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A mechanism to update a PrintBox logs display in real time #21

Closed
lukstafi opened this issue Feb 11, 2024 · 1 comment
Closed

A mechanism to update a PrintBox logs display in real time #21

lukstafi opened this issue Feb 11, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@lukstafi
Copy link
Owner

Get the benefits of the Flushing backend with the PrintBox backend. This is a tough ask, in the meantime we fortunately have Flushing.

@lukstafi lukstafi added the enhancement New feature or request label Feb 11, 2024
@lukstafi lukstafi self-assigned this Feb 11, 2024
@lukstafi
Copy link
Owner Author

Add a snapshot function to output all pending material, by virtually (temporarily) closing entries, but preserving the logging state (so calling snapshot has no effect on the eventual full logs). Add a configurable auto-snapshotting option, that at each logging event, snapshots logs if sufficient time has passed. For file based outputs, truncate the file to remove old snapshots when generating new ones or full logs. For text based outputs (especially if defaulted to the stdout channel), optionally add "clear terminal" symbols to mimic file truncation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant