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

Change fprintf to log prints #2266

Merged
merged 1 commit into from
Dec 4, 2022
Merged

Change fprintf to log prints #2266

merged 1 commit into from
Dec 4, 2022

Conversation

zuckschwerdt
Copy link
Collaborator

@zuckschwerdt zuckschwerdt commented Dec 4, 2022

Changes most fprintf()s to log prints.

More work is needed to convert remaining fprintf()s and adjust levels and messages. But this should be a good starting point.

Generally I found that normal messages should use a module name (Title Case) as source to be user friendly and abnormal messages should use the function name (__func__) for easier debugging.

Note that this might break scripts that string match on messages.

This builds on #2264 and is preparation for #2254

@zuckschwerdt zuckschwerdt merged commit 81f846f into master Dec 4, 2022
@zuckschwerdt zuckschwerdt deleted the feat-uselogger branch December 4, 2022 11:13
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.

None yet

1 participant