[Swift] print file name, method name, line number

print("=== \(type(of: self)).\(#function):\(#line) - message")

=== HomeScene.onAppear():188 – message

자세한 사항은 https://docs.swift.org/swift-book/ReferenceManual/Expressions.html 의 Literal Expression 에 있다.