[wp-trac] [WordPress Trac] #30934: Create a new API to standardize application logging
WordPress Trac
noreply at wordpress.org
Wed Dec 2 15:11:06 UTC 2020
#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 fpcorso):
I think this something that is much needed in core, especially as many
major plugins are all creating their own system right now creating many
redundancies that could be eliminated if core offered an extendable
logging system.
My question would be who would have control over the logging level,
structure, etc...: The site owner or the plugin/theme developer? For
example, would the site owner set the logging structure using a constant
and then all logs follow that, or would each developer set their own
structure for log messages coming from their plugin or theme?
Similarly, is there one main site log or does each plugin/theme receive
their own log? Does the site owner decide that or do the individual
plugins decide that?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30934#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list