Browse Source

Merge branch 'master' of https://git.yishihui.com/iOS/BFCommonKit

wenweiwei 3 năm trước cách đây
mục cha
commit
e5f861d3d1
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  1. 6 1
      BFCommonKit/Classes/BFUtility/PQCommonMethodUtil.swift

+ 6 - 1
BFCommonKit/Classes/BFUtility/PQCommonMethodUtil.swift

@@ -40,6 +40,9 @@ public let downloadImagesDirectory = resourceDirectory + "/DownloadImages/"
 public let tempDirectory = resourceDirectory + "/Temp/"
 /// 导出声音的本地沙盒目录v
 public let exportAudiosDirectory = resourceDirectory + "/ExportAudios/"
+/// 录制视频生成目录
+public let recordVideosDirectory = resourceDirectory + "/RecordVideos/"
+
 /// 导出合成视频的本地沙盒目录
 public let exportVideosDirectory = resourceDirectory + "/ExportVideos/"
 // 版本构建号
@@ -124,7 +127,9 @@ public func bf_getCurrentViewController() -> UIViewController? {
 public func BFLog<T>( _ type : Int = 0, _ file:String = #file, _ line:Int = #line, message: T) {
 //    if type == 0{
 ////        BuglyLog.level(.warn, logs: msg)
-//        print("\(dateFmt.string(from: Date())) \(msg)")
+    let dateFmt = DateFormatter()
+    let msg = "\(file) (L:\(line)) \(message)"
+        print("\(dateFmt.string(from: Date())) \(msg)")
 //    }
 #if DEBUG
 //    let dateFmt = DateFormatter()