Skip to content

Enable storage of full backtrace for each records #467

@shadyvb

Description

@shadyvb

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() ) ) );
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions