Skip to content

Conversation

@pgierz
Copy link
Member

@pgierz pgierz commented Nov 19, 2025

Modernizes pyfesom2 by using logging correctly instead of print

@pgierz pgierz requested a review from JanStreffing November 19, 2025 16:25
@JanStreffing
Copy link
Contributor

What's the difference?

@pgierz
Copy link
Member Author

pgierz commented Nov 19, 2025

Print will always print to screen, no matter what. logging can be configured, so if you use pyfesom2 as part of another application, you can correctly route the logs to your own place (e.g. file, add to stream of other info, etc etc)

@pgierz pgierz merged commit 66236e1 into main Nov 19, 2025
10 checks passed
@JanStreffing JanStreffing deleted the feat/better-logs branch November 19, 2025 18:00
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.

3 participants