Description
Log a debug_backtrace() to the trace log file if tracing is active
Usage
bw_backtrace( $level );Parameters
- $level
- ( integer ) optional default: BW_TRACE_ALWAYS – required level of tracing
Returns
voidSource
File name: oik-libs/libs/bwtrace.phpLines:
1 to 6 of 6
function bw_backtrace( $level=BW_TRACE_ALWAYS ) { global $bw_trace_on, $bw_trace_level; if ( $bw_trace_on && ( $level <= $bw_trace_level ) ) { bw_lazy_backtrace(); } }View on GitHub
Called by
16 to 30 of 75
- bw_symlinked_plugin() – Implement "in_plugin_update_message-$plugin_file" for a symlinked plugin
- bw_theme_field_taxonomy() – Theme a field of type "taxonomy"
- bw_trace_anychange() – ‘all’ hook looking for the changes to things listed in string BW_TRACE_ANYCHANGE
- bw_trace_backtrace() – Backtrace the selected hook
- bw_trace_deprecated_argument_run() – Implement "deprecated_argument_run" action for oik-bwtrace
- bw_trace_deprecated_argument_trigger_error() – Perform a debug backtrace before reporting the deprecation
- bw_trace_deprecated_constructor_run() – Implement "deprecated_constructor_run" action for oik-bwtrace
- bw_trace_deprecated_file_included() – Implement "deprecated_file_included" action for oik-bwtrace
- bw_trace_deprecated_function_run() – Implement "deprecated_function_run" action for oik-bwtrace
- bw_trace_doing_it_wrong_run() – Implement "doing_it_wrong_run" action for oik-bwtrace
- bw_trace_error_handler() – Trace catchable errors
- bw_trace_stringwatch_filter() – Check for the string in a scalar field
- bw_translate() – Wrapper to translate
- bw_update_parsed_object() – Update the parsed object
- includes/bw_fields.inc
Invoked by
Calls
1 to 1 of 1
