Better logging with Emoji
[]
The Atomic Birdhouse
= nil , file: String = #file , function: String = #function , line: Int = #line ) -> Void { if let message = message { print( "Milestone: \(( file as NSString ) .lastPathComponent ) : \( line ) \( function ) : \( message ) " ) } else { print( "Milestone: \(( file as NSString ) .lastPathComponent ) : \( line ) \( function ) " ) } } = nil , file: String = #file , function: String = #function , line: Int = #line ) -> Void { let logEmojis = [ "๐" , "๐" , "๐ฑ" , "๐" , "๐บ" , "๐ฝ" , "๐พ" , "๐ค" , "๐" , "๐" , "๐" , "๐ง " , "๐" , "๐งค" , "๐ถ" , "๐ฑ" , "๐ญ" , "๐น" , "๐ฆ" , "๐ป" , "๐จ" , "๐ต" , "๐ฆ" , "๐ฆ" , "๐" , "๐ฅ" , "๐ฅ" , "โญ๏ธ" , "๐" , "๐ฅ" , "๐ฝ" , "๐" , "๐ฟ" , "๐น" , "๐" , "โค๏ธ" , "๐งก" , "๐" , "๐" , "๐" , "๐" , "๐" ] let logEmoji = logEmojis[abs(file.hashValue % logEmojis.count)] if let message = message { print(โฆ