You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be possible to easily log the nature of HTTP invocations, including performance metrics, request & response content, and the like. This should be limited in Production contexts to both respect user privacy and conserve log resources.
At the moment, it is possible to inspect this information via manual debugging, but the logging in-place is not uniform. Performance metrics require manual instrumentation, as observed in this PR.
Steps to reproduce the behavior
N/A
WordPressKit Environment
WordPressKit Version : WordPressKit v4.0.0 & before
OS : iOS 10.x - 12.x
Device : all devices
Xcode Version : Xcode 10.2
Additional Context
N/A
The text was updated successfully, but these errors were encountered:
Expected behavior
It should be possible to easily log the nature of HTTP invocations, including performance metrics, request & response content, and the like. This should be limited in Production contexts to both respect user privacy and conserve log resources.
URLSessionTaskDelegate
might provide a centralized location to intercept requests & responses, as well as performance metrics viaURLSessionTaskMetrics
.Actual behavior
At the moment, it is possible to inspect this information via manual debugging, but the logging in-place is not uniform. Performance metrics require manual instrumentation, as observed in this PR.
Steps to reproduce the behavior
N/A
WordPressKit Environment
WordPressKit
v4.0.0 & beforeAdditional Context
N/A
The text was updated successfully, but these errors were encountered: