public function log(
        $level,
        $message,
        $paymentMethod,
        array $context = []
    ) {
        if (!$this->active) {
            return $this;
        }

        $this
            ->logger
            ->log(
                $level,
                "[$paymentMethod] - $message",
                $context
            );

        return $this;
    }