insidegui / insidegui/MultipeerKit

Allow injecting different OSLog into the framework

未关闭
#18 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Swift
星标
1.1k
派生
79
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。