diff --git a/lib/core/model/http/http_client.dart b/lib/core/model/http/http_client.dart index 679fd06..3e7aa54 100644 --- a/lib/core/model/http/http_client.dart +++ b/lib/core/model/http/http_client.dart @@ -122,7 +122,11 @@ class HttpClientImpl implements HttpClient { @module abstract class ClientModule { @Injectable(env: [Env.prod]) - http.Client get clientProd => http.Client(); + http.Client get clientProd => HttpClientWithMiddleware.build( + middlewares: [ + HttpLogger(logLevel: LogLevel.BODY), + ], + ); @Injectable(env: [Env.dev]) http.Client get clientDev => HttpClientWithMiddleware.build(