[wp-trac] [WordPress Trac] #30934: Create a new API to standardize application logging
WordPress Trac
noreply at wordpress.org
Sun May 15 13:55:10 UTC 2022
#30934: Create a new API to standardize application logging
-------------------------+-----------------------
Reporter: ericlewis | Owner: nacin
Type: enhancement | Status: assigned
Priority: normal | Milestone:
Component: General | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+-----------------------
Comment (by pfefferle):
While working on the ActivityPub, where I also need a PSR-3 logger for a
generic lib, I wrote a simple wrapper that writes into the error_log (like
WP_DEBUG_LOG does). Maybe this can be used as a start.
https://github.com/pfefferle/wp-psr-log
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30934#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list