func customPrint(line: Int = #line, file: String = #file, _ target: Any) {
Pretty.splatPrint(
label: nil,
targets: ["file", file],
separator: " : ",
option: Pretty.Option(colored: true)
)
Pretty.splatPrint(
label: nil,
targets: ["line", line],
separator: " : ",
option: Pretty.Option(colored: true)
)
Pretty.print(target, option: Pretty.Option(colored: true))
}
let owner = Owner(name: "Nanachi", age: 20, address: "4th layer in Abyss")
customPrint(owner)
let owner2 = Owner(name: "aaaa", age: 40, address: "bbbbb")
customPrint(owner2)
