Lines:
1 to 100 of 100
<?php // (C) Copyright Bobbing Wide 2011-2021 if ( !defined( 'OIK_BWTRACE_INCLUDES_INCLUDED' ) ) { define( 'OIK_BWTRACE_INCLUDES_INCLUDED', true ); /* function bw_trace_on() – Programmatically enable tracing */ /* function bw_trace_off() – Programmatically disable tracing */ /* function bw_trace_inc_init() – Initialise hardcoded trace options */ /* function bw_getlocale() – Return the selected locale */ /* function bw_trace_file_part() – Return the part of the file to trace */ /* function bw_trace_anonymize_symlinked_file() – Anonymize a symlinked file name */ /* function bw_trace_elapsed() – Trace the elapsed time */ /* function bw_trace_date() – Return the date for the trace record */ /* function bw_trace_count() – Return the trace record count if required */ /* function bw_trace_function() – Return the function invocation count */ /* function bw_current_filter() – Return the current filter summary */ /* function bw_get_num_queries() – Return the number of database queries performed so far */ /* function bw_get_post_id() – Return the global post_id and, if different global id, for tracing */ /* function bw_trace_post_id() – Trace the post id, if required */ /* function bw_get_memory_usage() – Trace the current memory/peak usage, if required */ /* function bw_trace_bwechos() – Trace bwechos if required */ /* function bw_trace_context() – Trace contextual information set using bw_set_context */ /* function bw_set_context() – Set some contextual information for tracing */ /* function bw_trace_context_all() – Trace all contextual information */ /* function bw_trace_file_count() – Return the files loaded count */ /* function bw_trace_return_bytes */ /* function bw_trace_memory_limit_bytes */ /* function bw_trace_print_r() – safe print_r ? */ /* function bw_trace_obsafe_print_r() – Output buffering safe print_r() */ /* function bw_array_inc() – Increment a value in an array */ /* function bw_lazy_trace() – Implement bw_trace() to write a record to the trace log file */ /* function bw_trace_file_name() – Return the defined trace file name */ /* function bw_trace_file() – Return the name of the trace file */ /* function bw_trace_file2 */ /* function bw_trace_batch() – Set options for tracing in batch mode */ /* function bw_trace_log() – Log a record to a trace file */ /* function bw_write() – write the trace line to the file */ /* function bw_trace_reset() – Perform a trace reset */ /* function bw_trace_errors() – */ if ( !function_exists( 'bw_array_get' ) ) { /* function bw_array_get() – Return the array[index] or array->index (for an object) or a default value if not set */ } /* function bw_lazy_backtrace() – print a backtrace to help find out where something is called from and how to debug it */ /* function bw_lazy_trace2() – Improved trace function that needs no parameters, but accepts two */ // Moved bw_lazy_trace_config_startup() to includes/bwtrace-config.php /* function bw_list_trace_levels() – Return the possible trace levels */ /* function bw_trace_trace_startup() – Trace the trace startup */ /* function bw_trace_hexdump */ }View on GitHub View on Trac