Scalr\Logger::error PHP Метод

error() публичный Метод

Log a message with the ERROR level.
public error ( string $message, string $args = null )
$message string The message that accepts format
$args string optional An arguments
    public function error($message, $args = null)
    {
        $args = func_get_args();
        array_unshift($args, self::LEVEL_ERROR);
        call_user_func_array([$this, 'log'], $args);
    }