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

fix: use internal log function to respect the debug options in Parser #63

Merged
merged 1 commit into from
Jul 1, 2024
Merged

fix: use internal log function to respect the debug options in Parser #63

merged 1 commit into from
Jul 1, 2024

Conversation

RadhiFadlillah
Copy link
Collaborator

@RadhiFadlillah RadhiFadlillah commented Jun 30, 2024

Hi everyone.

While working on another project, I realized go-readability print several logs despite Debug flag in Parser is set to false. This PR aim to fix that by using internal log function parser.logf instead of the log from std lib.

Closes #49

@RadhiFadlillah
Copy link
Collaborator Author

RadhiFadlillah commented Jun 30, 2024

By the way, this PR will also fix issue #49

Copy link
Member

@fmartingr fmartingr left a comment

Choose a reason for hiding this comment

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

Thank you!

@fmartingr fmartingr requested a review from Monirzadeh June 30, 2024 14:02
Copy link
Contributor

@Monirzadeh Monirzadeh left a comment

Choose a reason for hiding this comment

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

LGTM 👍
Thanks

@fmartingr fmartingr changed the title Use internal log function to respect the debug options in Parser refactor: use internal log function to respect the debug options in Parser Jul 1, 2024
@fmartingr fmartingr changed the title refactor: use internal log function to respect the debug options in Parser fix: use internal log function to respect the debug options in Parser Jul 1, 2024
@fmartingr fmartingr merged commit 1070de7 into go-shiori:master Jul 1, 2024
2 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.

Articles with bad dates generates error in stdout
3 participants