浏览代码

添加录制视频目录

jsonwang 3 年之前
父节点
当前提交
9e22d927c6
共有 1 个文件被更改,包括 6 次插入1 次删除
  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()