From 973a0881efbf0abf91918a22ab087c5e94d7f0b3 Mon Sep 17 00:00:00 2001 From: L1MeN9Yu Date: Wed, 2 Mar 2022 10:48:08 +0800 Subject: [PATCH] [Logging] : revert file component format --- Sources/Protocols/Formable.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: