File "Notice.php"
Full Path: /home/flipjqml/onlinebetsolution.com/wp-content/plugins/disable-search/src/error/Notice.php
File size: 684 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* Generic, non-critical informational notice
* Not to be confused with an error notice. This is for onscreen messages, and won't be logged.
*/
class Loco_error_Notice extends Loco_error_Exception {
/**
* {@inheritdoc}
*/
public function getType(){
return 'info';
}
/**
* {@inheritdoc}
*/
public function getTitle(){
return __('Notice','loco-translate');
}
/**
* {@inheritdoc}
*/
public function getLevel(){
return Loco_error_Exception::LEVEL_NOLOG;
}
/**
* {@inheritDoc}
*/
public function logCli(){
WP_CLI::log( $this->getMessage() );
}
}