insidegui / insidegui/MultipeerKit

Allow injecting different OSLog into the framework

Aperta
#18 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Swift
Stelle
1.1k
Fork
79
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hey Gui,

- [ ] Developers should have the ability to disable the os_log in production builds to protect user data.
- [ ] Developers should have the ability to customize the subsystem to their own need

Both can be achieved by providing a logging factory mechanism that can be overridden.

These can both be achieved by creating a factory or configuration passed into the transceiver at construction time. What are your thoughts on this as a privacy enhancement?

First thing I do when logging is make an extension on OSLog or Logger types that just take a category, the subsystem is usually the main bundle identifier.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.