GravityView  1.19.4
The best, easiest way to display Gravity Forms entries on your website.
Public Member Functions | Static Public Member Functions | Static Private Attributes
GravityView_Logging Class Reference

Public Member Functions

 __construct ()
 
 add_debug_bar ($panels)
 Add integration with the Debug Bar plugin. More...
 
 enable_gform_logging ($supported_plugins)
 Enables debug with Gravity Forms logging add-on. More...
 

Static Public Member Functions

static get_errors ()
 
static get_notices ()
 
static get_print_function ()
 Get the name of the function to print messages for debugging. More...
 
static log_debug ($message= '', $data=null)
 
static log_error ($message= '', $data=null)
 

Static Private Attributes

static $errors = array()
 
static $notices = array()
 

Detailed Description

Definition at line 3 of file class-gravityview-logging.php.

Constructor & Destructor Documentation

__construct ( )

Definition at line 8 of file class-gravityview-logging.php.

Member Function Documentation

add_debug_bar (   $panels)

Add integration with the Debug Bar plugin.

It's awesome.

See also
http://wordpress.org/plugins/debug-bar/

Definition at line 27 of file class-gravityview-logging.php.

References GRAVITYVIEW_DIR.

enable_gform_logging (   $supported_plugins)

Enables debug with Gravity Forms logging add-on.

Parameters
array$supported_pluginsList of plugins

Definition at line 46 of file class-gravityview-logging.php.

static get_errors ( )
static
Returns
array Array of errors (with message, data, and backtrace keys), if any

Definition at line 63 of file class-gravityview-logging.php.

Referenced by GravityView_Debug_Bar\get_warnings().

static get_notices ( )
static
Returns
array Array of notices (with message, data, and backtrace keys), if any

Definition at line 55 of file class-gravityview-logging.php.

Referenced by GravityView_Debug_Bar\get_notices().

static get_print_function ( )
static

Get the name of the function to print messages for debugging.

This is necessary because ob_start() doesn't allow print_r() inside it.

Returns
string "print_r" or "var_export"

Definition at line 74 of file class-gravityview-logging.php.

static log_debug (   $message = '',
  $data = null 
)
static

Definition at line 84 of file class-gravityview-logging.php.

static log_error (   $message = '',
  $data = null 
)
static

Definition at line 104 of file class-gravityview-logging.php.

Field Documentation

$errors = array()
staticprivate

Definition at line 5 of file class-gravityview-logging.php.

$notices = array()
staticprivate

Definition at line 6 of file class-gravityview-logging.php.


The documentation for this class was generated from the following file: