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

Centralize API debug logging in Wikimate::request() (fixes #113) #139

Merged
merged 4 commits into from
Sep 1, 2021

Conversation

Xymph
Copy link
Collaborator

@Xymph Xymph commented Sep 1, 2021

See discussion in issue #113. This is the "other half" of the centralization steps started with #136. Combined they reduce the overall length of Wikimake.php by some 50 lines, and significantly streamline all methods that call request().

Copy link
Collaborator

@waldyrious waldyrious left a comment

Choose a reason for hiding this comment

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

Nice changes overall — loving the code reduction and consolidation :)

I've left a couple suggestions inline, but I'd be happy to merge this as-is if you disagree with them.

@Xymph Xymph force-pushed the 139-central-debug-logging branch from 64d4970 to 5965cf5 Compare September 1, 2021 20:59
Copy link
Collaborator

@waldyrious waldyrious left a comment

Choose a reason for hiding this comment

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

LGTM!

@waldyrious waldyrious merged commit e770241 into hamstar:master Sep 1, 2021
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