Phirehose::log PHP Метод

log() защищенный Метод

Basic log function that outputs logging to the standard error_log() handler. This should generally be overridden to suit the application environment.
См. также: error_log()
protected log ( $message, String $level = 'notice' )
$level String 'error', 'info', 'notice'. Defaults to 'notice', so you should set this parameter on the more important error messages. 'info' is used for problems that the class should be able to recover from automatically. 'error' is for exceptional conditions that may need human intervention. (For instance, emailing them to a system administrator may make sense.)
    protected function log($message, $level = 'notice')
    {
        @error_log('Phirehose: ' . $message, 0);
    }