GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
Protected Member Functions
WP_Action_Logger Class Reference

If this file is called directly, abort. More...

Inheritance diagram for WP_Action_Logger:
Logger

Protected Member Functions

 log ( $level, $message, $context)
 Logs with an arbitrary level using do_action and our old action handlers. More...
 
- Protected Member Functions inherited from Logger
 interpolate ( $message, $context)
 Bake the context into { } placeholders in the message. More...
 

Additional Inherited Members

- Public Member Functions inherited from Logger
 alert ($message, array $context=array())
 Action must be taken immediately. More...
 
 critical ($message, array $context=array())
 Critical conditions. More...
 
 debug ($message, array $context=array())
 Detailed debug information. More...
 
 emergency ($message, array $context=array())
 System is unusable. More...
 
 error ($message, array $context=array())
 Runtime errors that do not require immediate action but should typically be logged and monitored. More...
 
 info ($message, array $context=array())
 Interesting events. More...
 
 notice ($message, array $context=array())
 Normal but significant events. More...
 
 warning ($message, array $context=array())
 Exceptional occurrences that are not errors. More...
 

Detailed Description

If this file is called directly, abort.

The implementation.

: (Foundation) Deprecate in future versions.

Uses the old logging stuff for now.

Definition at line 16 of file class-gv-logger-wp-action.php.

Member Function Documentation

◆ log()

log (   $level,
  $message,
  $context 
)
protected

Logs with an arbitrary level using do_action and our old action handlers.

$context['data'] will be passed to the action.

Parameters
mixed$levelThe log level.
string$messageThe message to log.
array$contextThe context.
Returns
void

Let's make this testable!

Definition at line 30 of file class-gv-logger-wp-action.php.

References endswitch.


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