Description
Trace $value to the trace log file if tracing is active
Usage
$mixed = bw_trace2( $value, $text, $show_args, $level );Parameters
- $value
- ( mixed ) optional – the value to be traced. The value can be a simple field, array or complex object such as a post
- $text
- ( string ) optional – additional information
- $show_args
- ( bool ) optional default: 1 – true if the parameter values are to be traced, false otherwise
- $level
- ( integer ) optional default: BW_TRACE_ALWAYS – the trace level requested
Returns
mixed $value – the first parameterSource
File name: oik-libs/libs/bwtrace.phpLines:
1 to 8 of 8
function bw_trace2( $value=null, $text=null, $show_args=true, $level=BW_TRACE_ALWAYS ) { global $bw_trace_on, $bw_trace_level; if ( $bw_trace_on && ( $level <= $bw_trace_level ) ) { return( bw_lazy_trace2( $value, $text, $show_args, $level )); } else { return( $value ); } }View on GitHub
Called by
1 to 15 of 786
- admin/oik-activation.php
- admin/oik-depends.inc
- ajax_bobbfunc::setUp() –
- bobbfunc.inc
- bwsc_jquery() – Implement the [bw_jq] shortcode
- BW_::bw_textarea() – Form a "textarea" field
- bw_actions_reset() – Reset the trace actions file if this is the first time for this invocation
- bw_action_options_validate() – Validate the bw_action_options
- bw_add_relocation() – Add a plugin relocation to the $bw_relocations list
- bw_akismet_check() – Perform an Akismet check on the message, if it’s activated
- bw_analyze_response_xml2() – Analyze the response from bw_remote_get2()
- bw_artisteer_version() – Detect Artisteer version, if applicable
- bw_background() – Implement [bw_background] shortcode
- bw_better_fit() – Determine if this size is a better match than before?
- bw_blog() – Implement [bw_blog] shortcode to select the blog to be used in subsequent shortcodes
Invoked by
Calls
1 to 1 of 1
