Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

more defensive than just using NullLogger? #20

Description

@drouu

i understand the reasoning behind using NullLogger in Client. but in practice, the value returned by $response->getBody() can be quite large, and duplicating it for debug logging (line 100) when its just going to get blackholed is a bit wasteful and can trigger an out-of-memory error in cases where you thought your application had enough.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions