You appear to be a bot. Output may be restricted
Description
Implement bw_trace() to write a record to the trace log file
Usage
bw_lazy_trace( $text, $function, $lineno, $file, $text_label, $level );
Parameters
- $text
- ( string ) required – field value
- $function
- ( string ) optional default: oiksc_dummy_function_0 – the current function name
- $lineno
- ( string ) optional default: 2 – the current line number
- $file
- ( string ) optional default: /tmp/oikscloaeUUtkC – the current file
- $text_label
- ( string ) optional – a label for the string
- $level
- ( mixed ) optional default: BW_TRACE_ALWAYS –
Returns
voidSource
File name: oik-bwtrace/includes/bwtrace.phpLines:
1 to 6 of 6
function bw_lazy_trace( $text, $function=bw_lazy_trace, $lineno=__LINE__, $file=__FILE__, $text_label=NULL, $level=BW_TRACE_ALWAYS ) { global $bw_trace_on, $bw_trace; if ( $bw_trace_on && $bw_trace ) { $bw_trace->lazy_trace( $text, $function, $lineno, $file, $text_label, $level ); } }View on GitHub View on Trac