Skip to content

Commit

Permalink
Fixed filename logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ddaddy committed Nov 25, 2020
1 parent 5a95680 commit a5243f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Logging/LogManager.swift
Expand Up @@ -18,7 +18,7 @@ public func LogMethodCall(function: String = #function, file: String = #file, li
}

public func LogMethodCallWithUUID(_ uuid: String?, function: String = #function, file: String = #file, line: Int = #line) {
let lastPathComponent = URL.init(string: file)?.lastPathComponent ?? ""
let lastPathComponent = URL.init(fileURLWithPath: file).lastPathComponent
LogManager.logString("\(function) file:\(lastPathComponent) line:\(line)", uuid: uuid)
}

Expand Down

0 comments on commit a5243f6

Please sign in to comment.