-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Easier logging #60
Comments
Hi @uddyami. I'm not sure what it has to do with this library. Could you please give me specific detail on what exactly you're doing? Also please provide the logs and stack traces you have. |
I'm trying to add logging to see raw request/ response. Alice adds logging and works on vanilla httpClient requests. From the api i expected to use it with JsonApiClient as well. But the type exception is something i'm getting stuck with. this is an example for alice usage
|
I'll try to figure it out. Meanwhile would you mind making an example dart code I could use to reproduce the issue? |
sure i'll try and create something with example code |
these lines have the error
|
Well, this one is explainable. |
@uddyami I have added the onHttpCall callback. You can use it to pass the request/response objects to Alice. Please let me know if it helps or if you need more details on it. |
I works perfectly! I love the fact you add it at client level.
EDIT |
I see. Going to pass the response body separately. |
will do |
When i'm trying to Alice https://pub.dev/packages/alice#-readme-tab-
this is following exception
Can some one help show some working examples around this ?
The text was updated successfully, but these errors were encountered: