Reference: http://wordpress.org/support/topic/timestamp-setting-was-updated
Having a filterable value, that when filtered to true would store full backtrace in each record meta, or in errorlog ( so we don't have to delete those later when we switch this filter off ), or even pass it to a registered callback.
Example, in the end of the log method of WP_Stream_Log:
if ( false !== apply_filters( 'wp_stream_debug_backtrace', false ) ) {
error_log( sprintf( "Stream #%d \n%s", $insert_id, implode( "\n", debug_backtrace() ) ) );
}
Reference: http://wordpress.org/support/topic/timestamp-setting-was-updated
Having a filterable value, that when filtered to
truewould store full backtrace in each record meta, or inerrorlog( so we don't have to delete those later when we switch this filter off ), or even pass it to a registered callback.Example, in the end of the
logmethod ofWP_Stream_Log: