|
@@ -40,6 +40,9 @@ public let downloadImagesDirectory = resourceDirectory + "/DownloadImages/"
|
|
public let tempDirectory = resourceDirectory + "/Temp/"
|
|
public let tempDirectory = resourceDirectory + "/Temp/"
|
|
/// 导出声音的本地沙盒目录v
|
|
/// 导出声音的本地沙盒目录v
|
|
public let exportAudiosDirectory = resourceDirectory + "/ExportAudios/"
|
|
public let exportAudiosDirectory = resourceDirectory + "/ExportAudios/"
|
|
|
|
+/// 录制视频生成目录
|
|
|
|
+public let recordVideosDirectory = resourceDirectory + "/RecordVideos/"
|
|
|
|
+
|
|
/// 导出合成视频的本地沙盒目录
|
|
/// 导出合成视频的本地沙盒目录
|
|
public let exportVideosDirectory = resourceDirectory + "/ExportVideos/"
|
|
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) {
|
|
public func BFLog<T>( _ type : Int = 0, _ file:String = #file, _ line:Int = #line, message: T) {
|
|
// if type == 0{
|
|
// if type == 0{
|
|
//// BuglyLog.level(.warn, logs: msg)
|
|
//// 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
|
|
#if DEBUG
|
|
// let dateFmt = DateFormatter()
|
|
// let dateFmt = DateFormatter()
|