 /// Logging purposes
 private extension ALDataRequestView {
     func debugLog(logString:String){
+        guard loggingEnabled else { return }
         print("ALDataRequestView: \(logString)")
     }
 }

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

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