You appear to be a bot. Output may be restricted
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 9 of 9
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