diff --git a/Sources/Protocols/Formable.swift b/Sources/Protocols/Formable.swift index a4d4c09..2db4bc4 100644 --- a/Sources/Protocols/Formable.swift +++ b/Sources/Protocols/Formable.swift @@ -27,7 +27,7 @@ public extension Formable { case .source: return "\(source)" case .file: - return "\(file)" + return "\(URL(fileURLWithPath: file).lastPathComponent)" case .function: return "\(function)" case .line: