Delete log file on start
This commit is contained in:
parent
97d28c0753
commit
05daa8f77a
|
@ -111,6 +111,7 @@ class AppConstants {
|
||||||
let dest = FileDestination()
|
let dest = FileDestination()
|
||||||
dest.minLevel = level
|
dest.minLevel = level
|
||||||
dest.logFileURL = fileURL
|
dest.logFileURL = fileURL
|
||||||
|
_ = dest.deleteLogFile()
|
||||||
return dest
|
return dest
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue