 // MARK: - Debug
 
 struct DKLogSettings {
+
     static var ShouldShowDetailedLogs   : Bool  = false
     static var DetailedLogFormat		= ">>> :line :className.:function --> :obj"
     static var DetailedLogDateFormat	= "yyyy-MM-dd HH:mm:ss.SSS"

}

extension NSError {
    func log() {
        print("Error: \(self) \(self.userInfo)")
    }
}

extension UIView {
    func roundRect(radius radius: CGFloat) {
        self.layer.cornerRadius = radius
        self.layer.masksToBounds = true

}

extension NSNumber {

    // Will return a String with the currency for the given Location
    // Can be used to display a Pricetag for an in App Product.
    // Take SKProduct.price for self
    // And SKProduct.priceLocale for locale.
    func stringWithCurrencyForNumber(locale:NSLocale) -> String? {
        let formatter = NSNumberFormatter()
        formatter.locale = locale
