Ver código fonte

Change log file name to include LoopFollow

Jonas Björkert 1 ano atrás
pai
commit
6c0fd1b182
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      LoopFollow/Log/LogManager.swift

+ 1 - 1
LoopFollow/Log/LogManager.swift

@@ -71,7 +71,7 @@ class LogManager {
 
 
     var currentLogFileURL: URL {
     var currentLogFileURL: URL {
         let today = dateFormatter.string(from: Date())
         let today = dateFormatter.string(from: Date())
-        return logDirectory.appendingPathComponent("\(today).log")
+        return logDirectory.appendingPathComponent("LoopFollow \(today).log")
     }
     }
 
 
     private func append(_ message: String, to fileURL: URL) {
     private func append(_ message: String, to fileURL: URL) {