     /// If failed earlier, the retryAction will be triggered when reachability changed to reachable
     public var automaticallyRetryWhenReachable:Bool = true
     
+    /// Set to true for debugging purposes
+    public var loggingEnabled:Bool = false
+    
     // Internal properties
     internal var state:RequestState = .Possible
     

            return
        }
        
        reachability?.whenReachable = { [unowned self] reachability in
            guard self.automaticallyRetryWhenReachable == true else {
                return
            }
            
            self.retryIfRetryable()
        }
        
        do {

        initOnForegroundObserver()
        initReachabilityMonitoring()
        
        debugLog("Init DataRequestView")
    }
    
    deinit {
        NSNotificationCenter.defaultCenter().removeObserver(self)
        debugLog("Deinit DataRequestView")
    }
    
    // MARK: Public Methods
