|
|
|
|
@ -40,7 +40,7 @@ import Foundation |
|
|
|
|
|
|
|
|
|
@objc static public func crashLogging(_ message: String, file: String = #file, function: String = #function, line: Int = #line) { |
|
|
|
|
let fileName: String = file.components(separatedBy: "/").last ?? file |
|
|
|
|
#if DEBUG |
|
|
|
|
#if _DEBUG_OPTIONS |
|
|
|
|
NSLogv("%@.%i.%@: %@", getVaList([fileName, line, function, message])) |
|
|
|
|
#else |
|
|
|
|
//Crashlytics.crashlytics().log(format: "%@.%i.%@: %@", arguments: getVaList([fileName, line, function, message])) |
|
|
|
|
|