Skip to content

Commit

Permalink
Extend log collection to 15mn
Browse files Browse the repository at this point in the history
  • Loading branch information
Ceylo committed Oct 30, 2022
1 parent f91ada9 commit 42115fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FurAffinity/Helpers/Logs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ extension OSLogEntryLog.Level: CustomStringConvertible {

func generateLogFile() throws -> URL {
let logStore = try OSLogStore(scope: .currentProcessIdentifier)
let position = logStore.position(date: Date().addingTimeInterval(-300))
let position = logStore.position(date: Date().addingTimeInterval(-900))
let allEntries = try logStore.getEntries(at: position)
let subsystem = Bundle.main.bundleIdentifier!
let logs = allEntries
Expand Down

0 comments on commit 42115fe

Please sign in to comment.