cedaro / satispress

Expose installed WordPress plugins and themes as Composer packages.
500 stars 49 forks source link

Consider introducing logging #63

Closed GaryJones closed 5 years ago

GaryJones commented 5 years ago

An administrator may want to see how often an API Key is used, or when the last time was. Logging hits to packages.json, or when releases are downloaded, and displaying that to admins might be a good extension plugin, if not built-in to SatisPress itself.

bradyvercher commented 5 years ago

That's one thing I was thinking would be good for the next release, but it can go in whenever. At the very least, injecting a Psr\Log\NullLogger wherever needed would allow the logger service to be replaced in the container.