MonsterInsights_GA_Logger

The Google Analytics for WordPress by MonsterInsights MonsterInsights GA Logger class.

Defined (1)

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

/assets/lib/google/class-ga-logger.php  
  1. class MonsterInsights_GA_Logger extends MonsterInsights_GA_Lib_Logger_Abstract { 
  2.  
  3. /** 
  4. * {@inheritdoc} 
  5. */ 
  6. public function shouldHandle( $level ) { 
  7. return true; // always log errors 
  8.  
  9. /** 
  10. * {@inheritdoc} 
  11. */ 
  12. protected function write( $message ) { 
  13. // @todo log to option in future