davedelong,
@davedelong@mastodon.social avatar

There is zero benefit to using the OSLog APIs in your own app. The logs are hard to get in your own app, and impossible to get from previous app runs. You can't get logs from a device except via a sysdiagnose, and no developer wants to walk a customer through that arduous, privacy-invasive process.

OSLog is an API that Apple made to solve Apple's problems. It is not a developer-friendly API.

Use the Logging package instead: https://github.com/apple/swift-log

https://twit.social/@kharrison/112253393743175498

krzyzanowskim,
@krzyzanowskim@mastodon.social avatar

deleted_by_author

  • Loading...
  • davedelong,
    @davedelong@mastodon.social avatar

    @krzyzanowskim SwiftLog gives you control over where the logs go, so you can have them go to disk for later recovery

    jaylyerly,

    @krzyzanowskim I used Puppy as a backend on a couple of projects and it worked pretty well. It can log to rotating files that were nice to submit with bug reports.

    https://github.com/sushichop/Puppy

    darrarski,
    @darrarski@mastodon.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines