from typing import Any


def Log(minval: float, maxval: float, base: int = 10) -> Any:
    """
    A hyperparameter configuration for a log uniform distribution over
    float values.

    Arguments:
        minval:
            The minimum exponent to be used in the distribution. The minimum
            value of the hyperparameter will be base ^ minval.
        maxval:
            The minimum exponent to be used in the distribution. The maximum
            value of the hyperparameter will be base ^ maxval.
        base:
            The logarithm base to use for the distribution (default: 10)

    Returns:
        A dictionary representing the configuration.
    """
    return {"type": "log", "base": base, "minval": minval, "maxval": maxval}