import CustomDump import Foundation extension String { @usableFromInline func indent(by indent: Int) -> String { let indentation = String(repeating: " ", count: indent) return indentation + self.replacingOccurrences(of: "\n", with: "\n\(indentation)") } }