This is a utility class for parsing the current call stack in scope. This can be very useful for logging so that you automatically prefix logs with contextual information.
CallStackParseroriginally is theCallStackAnalyserclass by @mitchymitch . Just adopted to current Swift version with some minor changes. Original source: https://github.com/nurun/swiftcallstacktrace .- String extensions posted by @Leo Dabus at https://stackoverflow.com/questions/24092884/get-nth-character-of-a-string-in-swift-programming-language/38215613#38215613 .
CwlDemanglercreated by @mattgallagher and placed here: https://github.com/mattgallagher/CwlDemangle/tree/master/CwlDemangle