[wp-trac] [WordPress Trac] #5669: Provide single logging functions to replace logIO(), debug_fwrite() etc.

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 10 02:01:54 UTC 2010


#5669: Provide single logging functions to replace logIO(), debug_fwrite() etc.
-------------------------------+--------------------------------------------
 Reporter:  pishmishy          |        Owner:                
     Type:  enhancement        |       Status:  new           
 Priority:  low                |    Milestone:  Future Release
Component:  Warnings/Notices   |      Version:  2.3.2         
 Severity:  minor              |   Resolution:                
 Keywords:  debug needs-patch  |  
-------------------------------+--------------------------------------------

Comment(by hakre):

 As an alternative suggestion, which does not need a new infrastructure:

 Error logging is handeled with wordpress debug / php logging settings.
 Error logging can be enabled in wordpress (or PHP settings). Errors can be
 triggered by the [http://www.php.net/manual/en/function.trigger-error.php
 trigger_error] function, which also will put errors to the log if logging
 is enabled.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/5669#comment:22>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list