 /// 需要在build setting -> other swift flags -> Debug 中设置 -D DEBUG
 func Log<T>(_ messsage : T, file : String = #file, funcName : String = #function, lineNum : Int = #line) {
     #if DEBUG
-    let fileName = (file as NSString).lastPathComponent
-    print("\(fileName)-line:\(lineNum) ==> \(messsage)")
+    let fileName = (file as NSString).lastPathComponent.split(separator: ".").first!
+    print("\(fileName) -> \(funcName) -> line:\(lineNum) ==> \(messsage)")
     #endif
 }
+

    @discardableResult
    public class func exchangeMethod(cls: AnyClass?, targetSel: Selector, newSel: Selector) -> Bool {
        
            guard let before: Method = class_getInstanceMethod(cls, targetSel),
                let after: Method = class_getInstanceMethod(cls, newSel) else {
                return false
            }

            method_exchangeImplementations(before, after)
            return true
    }
    
    ///获取设备型号

            clsName = space + "." + vcName
            
        } else {
            
            clsName = self.currentSapceName() + "." + vcName
        }
        
