Skip to content

Commit

Permalink
[Logging] : revert file component format
Browse files Browse the repository at this point in the history
  • Loading branch information
L1MeN9Yu committed Mar 2, 2022
1 parent 1bc4323 commit 973a088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Protocols/Formable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 973a088

Please sign in to comment.