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

The abstract class. More...

Inheritance diagram for Logger:
WP_Action_Logger

Public Member Functions

 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...
 

Protected Member Functions

 interpolate ( $message, $context)
 Bake the context into { } placeholders in the message. More...
 

Detailed Description

The abstract class.

: (Foundation) Deprecate in future versions.

Definition at line 28 of file class-gv-logger.php.

Member Function Documentation

◆ alert()

alert (   $message,
array  $context = array() 
)

Action must be taken immediately.

Example: Entire website down, database unavailable, etc. This should trigger the SMS alerts and wake you up.

Parameters
string$message
array$context
Returns
void

Definition at line 53 of file class-gv-logger.php.

◆ critical()

critical (   $message,
array  $context = array() 
)

Critical conditions.

Example: Application component unavailable, unexpected exception.

Parameters
string$message
array$context
Returns
void

Definition at line 68 of file class-gv-logger.php.

◆ debug()

debug (   $message,
array  $context = array() 
)

Detailed debug information.

Parameters
string$message
array$context
Returns
void

Definition at line 139 of file class-gv-logger.php.

◆ emergency()

emergency (   $message,
array  $context = array() 
)

System is unusable.

Parameters
string$message
array$context
Returns
void

Definition at line 37 of file class-gv-logger.php.

◆ error()

error (   $message,
array  $context = array() 
)

Runtime errors that do not require immediate action but should typically be logged and monitored.

Parameters
string$message
array$context
Returns
void

Definition at line 82 of file class-gv-logger.php.

◆ info()

info (   $message,
array  $context = array() 
)

Interesting events.

Example: User logs in, SQL logs.

Parameters
string$message
array$context
Returns
void

Definition at line 126 of file class-gv-logger.php.

◆ interpolate()

interpolate (   $message,
  $context 
)
protected

Bake the context into { } placeholders in the message.

Parameters
string$message
array$context
Returns
string The baked message;

Definition at line 151 of file class-gv-logger.php.

References gravityview().

◆ notice()

notice (   $message,
array  $context = array() 
)

Normal but significant events.

Parameters
string$message
array$context
Returns
void

Definition at line 111 of file class-gv-logger.php.

◆ warning()

warning (   $message,
array  $context = array() 
)

Exceptional occurrences that are not errors.

Example: Use of deprecated APIs, poor use of an API, undesirable things that are not necessarily wrong.

Parameters
string$message
array$context
Returns
void

Definition at line 98 of file class-gv-logger.php.


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