fix: os log store scope
This commit is contained in:
parent
77abc2c5a5
commit
4ac0eace66
|
|
@ -68,7 +68,7 @@ open class LogsStorageViewModel {
|
|||
preCompletion?()
|
||||
|
||||
DispatchQueue.global(qos: .userInitiated).async { [weak self] in
|
||||
let logStore = try? OSLogStore(scope: .system)
|
||||
let logStore = try? OSLogStore(scope: .currentProcessIdentifier)
|
||||
let entries = try? logStore?.getEntries()
|
||||
|
||||
let logs = entries?
|
||||
|
|
|
|||
Loading…
Reference in New Issue