Skip to content
This repository was archived by the owner on Mar 12, 2020. It is now read-only.
This repository was archived by the owner on Mar 12, 2020. It is now read-only.

[RFC] Logging of API output should be disabled, or made configurable #3

@Renegade334

Description

@Renegade334

The inclusion of $logger->info('resolve', array('url' => $url, 'json' => $json)) in the resolve callback results in kilobytes of clutter being dumped to the debug output every time a YouTube video is looked up. Unless the user is actively debugging the plugin, there's no need to dump all this output.

Personally, I'd prefer a simple debug message along the lines of YouTube API data received {"id":"VIDEOID"}. Would be interested to know what others think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions