Browse Source

1.打包1.5.0

wenweiwei 3 years ago
parent
commit
941b8dec07
2 changed files with 19 additions and 19 deletions
  1. 1 1
      BFCommonKit.podspec
  2. 18 18
      BFCommonKit/Classes/BFUtility/PQCommonMethodUtil.swift

+ 1 - 1
BFCommonKit.podspec

@@ -8,7 +8,7 @@
 # update framework 2021.11.1
 Pod::Spec.new do |s|
   s.name             = 'BFCommonKit'
-  s.version          = '1.4.9'
+  s.version          = '1.5.0'
   s.summary          = 'A short description of BFCommonKit.'
   s.swift_version    = '5.0'
 # This description is used to generate tags and improve search results.

+ 18 - 18
BFCommonKit/Classes/BFUtility/PQCommonMethodUtil.swift

@@ -171,24 +171,24 @@ public func bf_getCurrentViewController() -> UIViewController? {
  
  */
 public func BFLog<T>( _ type : Int = 0, _ file:String = #file, _ line:Int = #line, message: T) {
-    let dateFmt = DateFormatter()
-    dateFmt.dateFormat = "HH:mm:ss:SSSS"
-    let file = (file as NSString).lastPathComponent;
-    let msg = "\(file) (L:\(line)) \(message)"
-    if type == 0{
-//        BuglyLog.level(.warn, logs: msg)
-        print("\(dateFmt.string(from: Date())) \(msg)")
-    }
-#if DEBUG
-     if type == 1 {
-        print("hhz-\(dateFmt.string(from: Date())) \(msg)");
-     }else if type == 2 {
-        print("ak-\(dateFmt.string(from: Date())) \(msg)");
-     }else if type == 3 {
-        print("ww-\(dateFmt.string(from: Date())) \(msg)");
-     }
- 
-#endif
+//    let dateFmt = DateFormatter()
+//    dateFmt.dateFormat = "HH:mm:ss:SSSS"
+//    let file = (file as NSString).lastPathComponent;
+//    let msg = "\(file) (L:\(line)) \(message)"
+//    if type == 0{
+////        BuglyLog.level(.warn, logs: msg)
+//        print("\(dateFmt.string(from: Date())) \(msg)")
+//    }
+//#if DEBUG
+//     if type == 1 {
+//        print("hhz-\(dateFmt.string(from: Date())) \(msg)");
+//     }else if type == 2 {
+//        print("ak-\(dateFmt.string(from: Date())) \(msg)");
+//     }else if type == 3 {
+//        print("ww-\(dateFmt.string(from: Date())) \(msg)");
+//     }
+//
+//#endif
  
 }