             NSLog("fromCString error result: \(result)")
             return result
         }
+        //#endif
     }
 
     func truncate(length: Int, trailing: String = "…") -> String {

            }
        }
        return Array(result)
    }*/
    
    // MARK: - Static functions
    
    static func fromCString(_ cString: UnsafeRawPointer, length: Int) -> String {
        if let result = NSString(bytes: cString, length: length, encoding: String.Encoding.utf8.rawValue) {
            return result as String
        } else {


func ALog(_ message: String, filename: String = #file, function: String = #function, line: Int = #line) {
    logger.log("[\(NSString(string: filename).lastPathComponent):\(line)] \(function) - \(message)")
}
