Swift-analytics package

There are several Apple libraries that establish new standards for common tools' APIs: swift-log, swift-metrics, and swift-distributed-tracing. These libraries unify APIs and facilitate the replacement of backends for these tools, as well as code reuse. Although these libraries were initially aimed at server-side Swift projects, I see no reason why they couldn't be utilized on the client side (e.g., in iOS applications) and why similar libraries couldn't be created for analytics, A/B testing, etc.

First, I implemented swift-analytics and I would like to know what you think about it and whether it makes sense.

4 Likes