MonologHandlernewrelic_add_custom_parameter

The Gravity PDF Monolog Handler newrelic add custom parameter function.

Description

Monolog\Handler\newrelic_add_custom_parameter( $key, $value ); 

Parameters (2)

0. $key
The key.
1. $value
The value.

Usage

  1. if ( !function_exists( 'Monolog\Handler\newrelic_add_custom_parameter' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'gravity-pdf/vendor/monolog/monolog/tests/Monolog/Handler/NewRelicHandlerTest.php'; 
  3.  
  4. // The key. 
  5. $key = null; 
  6.  
  7. // The value. 
  8. $value = null; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = Monolog\Handler\newrelic_add_custom_parameter($key, $value); 
  12.  

Defined (1)

The function is defined in the following location(s).

/vendor/monolog/monolog/tests/Monolog/Handler/NewRelicHandlerTest.php  
  1. function newrelic_add_custom_parameter($key, $value) 
  2. NewRelicHandlerTest::$customParameters[$key] = $value; 
  3.  
  4. return true;