             bundle: .main,
             isLoggingEnabled: isLoggingEnabled
         )
-        self.isLoggingEnabled = isLoggingEnabled
     }
     
     // Internal only (testing)

        self.receiptURLFetcher = receiptURLFetcher
        self.receiptClient = receiptClient
        self.responseValidator = responseValidator
        self.isLoggingEnabled = false
    }
    
    // MARK: - Deinit
    
    deinit {
        print("Deinit SwiftyReceiptValidator")
    }
}

// MARK: - Print

extension SwiftyReceiptValidator {
    
    func print(_ items: Any...) {
        guard isLoggingEnabled else {
            return
        }
        Swift.print(items[0])
    }
}

    let receiptURLFetcher: ReceiptURLFetcherType
    let receiptClient: ReceiptClientType
    let responseValidator: ResponseValidatorType
    
    // MARK: - Init
    
    /// Initializer
    ///
    /// - parameter configuration: The configuration needed for SwiftyReceiptValidator.
    /// - parameter isLoggingEnabled: Displays console logging events if set to true.
