These packages are available as a package collection, usable in Xcode or SwiftPM.
OSLogViewer is made for viewing your apps OS_Log history, it is a SwiftUI view which can be used in your app to view and export your logs.
1 package.