simonbs,
@simonbs@mastodon.social avatar

Finding this extension on OSLog's Logger incredibly helpful when quickly adding logging to a type ✨ 🪵

n0rthk1n9,
@n0rthk1n9@mastodon.social avatar

@simonbs I will definitely steal this for my app! 😍 Thanks for sharing, that’s exactly what I need right now!

jhalickman,
@jhalickman@mastodon.social avatar

@simonbs I’ve been using this macro that does something similar for my latest project and it’s really handy: https://github.com/Finnvoor/StaticLogger

umurgdk,
@umurgdk@mastodon.social avatar

@simonbs Something like this

umurgdk,
@umurgdk@mastodon.social avatar

@simonbs I prefer separating loggers by subsystems. The usual suspects are "auth, ui, lifecycle, database, other domain specific subsystems"

tomlokhorst,
@tomlokhorst@mastodon.social avatar

@simonbs I define the logger at the file level, so that I can also use it in the private extensions for other types I create as helpers inside the same file.

mattiem,
@mattiem@mastodon.social avatar

@simonbs @5sw Yes! I use something similar!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • mdbf
  • ethstaker
  • magazineikmin
  • GTA5RPClips
  • rosin
  • thenastyranch
  • Youngstown
  • InstantRegret
  • slotface
  • osvaldo12
  • kavyap
  • khanakhh
  • Durango
  • megavids
  • everett
  • cisconetworking
  • normalnudes
  • tester
  • ngwrru68w68
  • cubers
  • modclub
  • tacticalgear
  • provamag3
  • Leos
  • anitta
  • JUstTest
  • lostlight
  • All magazines