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

[MRG] Add class to capture print messages to the logger #956

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

dylansdaniels
Copy link
Collaborator

This PR adds a class that captures print statements in the logger and updates the display in the log output widget so that new items always appear at the top of the log. I made some updates to the formatting of the log messages as well to make them more readable, see img below

image

@dylansdaniels
Copy link
Collaborator Author

This addresses #953

Copy link
Collaborator

@asoplata asoplata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Tested live, including with subsequent sims and figures, and everything works. Looks much nicer!

@asoplata asoplata merged commit fbe1981 into jonescompneurolab:master Nov 27, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants