?? GreyFile — Mystic File Browser

Current path: home/webdevt/www/wdp/wp-content/plugins/loco-translate/src/error/



?? Go up: /home/webdevt/www/wdp/wp-content/plugins/loco-translate/src

?? Viewing: Notice.php

<?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() );
    }

}


??

??