ソースを参照

1.图片录音播放

wenweiwei 3 年 前
コミット
ea5653d124
1 ファイル変更14 行追加14 行削除
  1. 14 14
      BFCommonKit/Classes/BFUtility/PQCommonMethodUtil.swift

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

@@ -124,21 +124,21 @@ public func bf_getCurrentViewController() -> UIViewController? {
    type = 3 : 文伟伟
 
  */
-public func BFLog<T>(_ type: Int = 0, _ file: String = #file, _ line: Int = #line, message: T) {
+public func BFLog<T>(_: Int = 0, _: String = #file, _: Int = #line, message _: T) {
     #if DEBUG
-        let filePath = (file as NSString).lastPathComponent
-        let dateFmt = DateFormatter()
-        dateFmt.dateFormat = "HH:mm:ss:SSSS"
-        let msg = "\(filePath) (L:\(line)) \(message)"
-        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)")
-        } else {
-            print("\(dateFmt.string(from: Date())) \(msg)")
-        }
+//        let filePath = (file as NSString).lastPathComponent
+//        let dateFmt = DateFormatter()
+//        dateFmt.dateFormat = "HH:mm:ss:SSSS"
+//        let msg = "\(filePath) (L:\(line)) \(message)"
+//        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)")
+//        } else {
+//            print("\(dateFmt.string(from: Date())) \(msg)")
+//        }
     #else
 //    let filePath = (file as NSString).lastPathComponent;
 //    let dateFmt = DateFormatter()