Doctrine\MongoDB\Aggregation\Stage\Operator::log PHP Method

log() public method

The expression can be any valid expression as long as it resolves to a non-negative number. The expression can be any valid expression as long as it resolves to a positive number greater than 1.
See also: https://docs.mongodb.org/manual/reference/operator/aggregation/log/
See also: Expr::log
Since: 1.3
public log ( mixed | Expr $number, mixed | Expr $base )
$number mixed | Doctrine\MongoDB\Aggregation\Expr
$base mixed | Doctrine\MongoDB\Aggregation\Expr
    public function log($number, $base)
    {
        $this->expr->log($number, $base);
        return $this;
    }