[oik] plugins.com

WordPress plugins and themes

  • Home
  • About
    • lazy shortcodes
    • smart shortcodes
    • oik base plugin
      • oik – donate
      • oik PayPal buttons
      • oik installation
      • oik Button Shortcode button
      • oik changelog
      • oik FAQ
      • oik plugins on SVN
      • oik plugins on GitHub
  • Plugins
    • oik base plugin
    • FREE oik plugins
    • WordPress plugins
    • Premium oik plugins
    • Bespoke oik plugins
  • Shortcodes
    • Shortcode examples
  • Blocks
    • Block examples
  • APIs
    • ALL action and filter hooks
  • Blog

bw_trace() – Log a simple trace record to the trace log file if tracing is active

Description

Log a simple trace record to the trace log file if tracing is active

Use bw_trace2() in preference to bw_trace() except in special circumstances which prevent bw_trace2() from being invoked.

Usage

bw_trace( $text, $function, $lineno, $file, $text_label, $level );

Parameters

$text
( mixed ) required – value to be traced
$function
( string ) optional default: oiksc_dummy_function_0 – name of function to log in the trace file. In OO code use METHOD
$lineno
( integer ) optional default: 2 – line number of source file to log
$file
( string ) optional default: /tmp/oikscloaruHw4l – source file name
$text_label
( string ) optional – a label to help you locate the trace record
$level
( integer ) optional default: BW_TRACE_ALWAYS – required level of tracing

Returns

void

Source

File name: oik/libs/bwtrace.php
Lines:
1 to 6 of 6
  function bw_trace( $text, $function=__FUNCTION__, $lineno=__LINE__, $file=__FILE__, $text_label=null, $level=BW_TRACE_ALWAYS ) {
    global $bw_trace_on, $bw_trace_level;
    if ( $bw_trace_on && ( $level <= $bw_trace_level )  ) {
      bw_lazy_trace( $text, $function, $lineno, $file, $text_label, $level );
    }  
  }
 
 View on GitHub View on Trac

Called by

1 to 15 of 15
  • bw_artisteer_version() – Detect Artisteer version, if applicable
  • bw_block_() – Syntax [bw_block class="classes" title="title text" framed="y/n,t/f,1/0"] Future use parameters are prefix="art-" level="h3" – heading level for the block title
  • bw_block_25() – Syntax [bw_block class="classes" title="title text" framed="y/n,t/f,1/0"] Future use parameters are prefix="art-" level="h3" – heading level for the block title
  • bw_block_30() – Syntax [bw_block class="classes" title="title text" framed="y/n,t/f,1/0"] Future use parameters are prefix="art-" level="h3" – heading level for the block title
  • bw_block_31() – Syntax [bw_block class="classes" title="title text" framed="y/n,t/f,1/0"] Future use parameters are prefix="art-" level="h3" – heading level for the block title
  • bw_contact_button() – Create a Contact me button
  • bw_default_empty_arr() – Set a default value for an empty array[ index]
  • bw_format_post() – Format the "post" – basic first version
  • bw_format_thumb() – Format the "thumb"
  • bw_gallery() – Gallery logic
  • bw_get_posts() – Wrapper to get_posts()
  • bw_gp_slideshow() – Safely invoke SlideShow Gallery Pro
  • bw_lazy_trace_action_immediate() – Trace the fact that an action has been invoked without our prior knowledge of the possibility
  • bw_pages() – Implement [bw_pages] shortcode
  • bw_trace_action_end() – Trace the fact that an action has completed Notes: – We assume that priority of 1000 is the highest anyone will set – When the action is shutdown we call bw_trace_report_actions() – this could just as easily have been added using add_action( "shutdown", "bw_trace_report_actions" ) **?**

Invoked by

    Calls

    1 to 2 of 2
    • bw_lazy_trace() – Implement bw_trace() to write a record to the trace log file
    • bw_trace() – Log a simple trace record to the trace log file if tracing is active

    Call hooks

    Function name: bw_trace
    Plugin ref: oik – oik information kit
    Version: 4.15.3
    Sourcefile: libs/bwtrace.php
    File ref: libs/bwtrace.php
    Deprecated?: No
    API Letters: B,T

    Published: February 2, 2018 | Last updated: February 2, 2018

    Information

    Function name: bw_trace
    Plugin ref: oik – oik information kit
    Version: 4.15.3
    Sourcefile: libs/bwtrace.php
    File ref: libs/bwtrace.php
    Deprecated?: No
    API Letters: B,T

    Recent plugin updates

    oik-weight-zone-shipping v0.2.13 oik-weight-zone-shipping v0.2.13 has been tested with WooCommerce 10.1.2 and WordPress 6.8.2 ...
    SB Children Block v1.3.0 Upgrade to SB Children Block v1.3.0 for support for PHP 8.3 and PHP 8.4  ...
    oik v4.15.3 Update to oik v4.15.3 for a couple of security fixes. Tested with WordPress 6.8.2 ...
    oik-privacy-policy v1.4.9 Update to oik-privacy-policy v1.4.9 for a security fix. Tested with WordPress 6.8.2 and PHP 8.3 and PHP 8.4 ...
    oik-nivo-slider v1.17.0 oik-nivo-slider v1.17.0 introduces the Nivo slider block - oik-nivo-slider/nivo. ...

    Plugins

    • All Plugins
    • oik base plugin
    • FREE oik plugins
    • WordPress plugins
    • Premium oik plugins

    Themes

    • FREE themes
    • Bespoke themes
    • Premium themes

    Blocks

    • All Blocks
    • Block examples
    • About Blocks

    Shortcodes

    • All Shortcodes
    • Shortcode examples
    • About Shortcodes

    Reference

    • About APIs
    • All APIs
    • All Classes
    • All Files
    • All Hooks

    Support

    • Contact
    • Cookies policy
    • Get API key
    • Privacy
    • Request support
    • Sitemap
    • Stay informed
    • Terms and Conditions
    oik-plugins
    Email: herb@bobbingwide.com

    Weight shipping plugins

    Find out which cart weight shipping plugin you need for your WooCommerce site.
    Which cart weight based plugin do I need?

    Site:  www.oik-plugins.com
    © Copyright oik-plugins 2011-2025. All rights reserved.


    Website designed and developed by Herb Miller of Bobbing Wide
    Proudly powered by WordPress and oik-plugins

    WordPress version: 6.8.3

    Gutenberg version: 21.7.0

    PHP version: 8.2.29