You appear to be a bot. Output may be restricted
Description
Enable trace and action trace for oik-batch routines
Usage
oik_batch_trace( $trace_on );
Parameters
- $trace_on
- ( bool ) optional –
Returns
voidTO DO
Make it so we can turn trace on and off Herb 2014/06/09Source
File name: oik-batch/libs/oik-cli.phpLines:
1 to 13 of 13
function oik_batch_trace( $trace_on=false ) { if ( $trace_on ) { if ( !defined( 'BW_TRACE_ON' ) ) { if ( !defined( 'BW_TRACE_CONFIG_STARTUP' ) ) { define( 'BW_TRACE_CONFIG_STARTUP', true ); } define( 'BW_TRACE_ON', true); define( 'BW_TRACE_RESET', false ); } } else { // We don't do the defines so it can be done later. } }View on GitHub