{"adoption": {"forks": 344, "observed_at": "2026-08-28T04:08:33.546815+00:00", "stars": 4043}, "canonical_url": "https://ross.abutalabs.com/products/swift-log", "card": {"archived": false, "artifact_type": "library", "description": "A Logging API for Swift", "domain": ["developer-tools", "backend"], "enriched": true, "function": ["logging"], "health_score": 100, "homepage": "https://swiftpackageindex.com/apple/swift-log", "language": "Swift", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["apple/swift-log"], "name": "apple/swift-log", "platform": ["cross-platform", "wasm"], "pushed_at": "2026-08-24T17:24:09+00:00", "repo": "apple/swift-log", "stars": 4043, "tags": ["swift", "swift-server", "log-handler", "api-package", "sswg", "serverless", "linux", "macos", "ios"], "topics": ["logging", "swift-server"], "urls": [], "use_cases": ["add structured logging to a Swift server application", "standardize logging across Swift libraries and frameworks", "swap logging backends without changing application code", "attach metadata like request IDs to log messages", "log at different levels (info, warning, error) in Swift apps"], "what_it_is": "SwiftLog is Apple's logging API package for Swift, providing a unified, performant logging facade that libraries and applications can adopt across the Swift ecosystem. It is an API-only package meant to be paired with community-maintained logging backend implementations (LogHandler) for production use.", "when_to_avoid": ["you need a batteries-included logging implementation with output formatting out of the box", "your project is not in Swift", "you need a specific backend feature that requires using a concrete logging library directly"], "when_to_choose": ["you are building Swift server-side or application code and need a standard logging API", "you are a library author who wants consumers to control the logging backend", "you want an SSWG-graduated, Apple-maintained package with broad platform support"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/swift-log", "repo": "apple/swift-log", "role": "main", "score": 98}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:33.546815+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:23:44.762925+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5b48faca76692d06c1de0bef5444f384c09db726d344a3701de7c78dda3851f9", "fetched_at": "2026-08-28T04:08:33.546815+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-log"}, {"content_hash": "1f80122436098fa6d308be9416c009ba13a50c092b14f1189cb47e30a62af9fd", "fetched_at": "2026-08-29T09:16:09.823730+00:00", "kind": "homepage", "missing": false, "url": "https://swiftpackageindex.com/apple/swift-log"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:33.546815+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:23:44.762925+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5b48faca76692d06c1de0bef5444f384c09db726d344a3701de7c78dda3851f9", "fetched_at": "2026-08-28T04:08:33.546815+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-log"}, {"content_hash": "1f80122436098fa6d308be9416c009ba13a50c092b14f1189cb47e30a62af9fd", "fetched_at": "2026-08-29T09:16:09.823730+00:00", "kind": "homepage", "missing": false, "url": "https://swiftpackageindex.com/apple/swift-log"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:23:44.762925+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5b48faca76692d06c1de0bef5444f384c09db726d344a3701de7c78dda3851f9", "fetched_at": "2026-08-28T04:08:33.546815+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-log"}, {"content_hash": "1f80122436098fa6d308be9416c009ba13a50c092b14f1189cb47e30a62af9fd", "fetched_at": "2026-08-29T09:16:09.823730+00:00", "kind": "homepage", "missing": false, "url": "https://swiftpackageindex.com/apple/swift-log"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:08:33.546815+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:33.546815+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:33.546815+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:23:44.762925+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5b48faca76692d06c1de0bef5444f384c09db726d344a3701de7c78dda3851f9", "fetched_at": "2026-08-28T04:08:33.546815+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-log"}, {"content_hash": "1f80122436098fa6d308be9416c009ba13a50c092b14f1189cb47e30a62af9fd", "fetched_at": "2026-08-29T09:16:09.823730+00:00", "kind": "homepage", "missing": false, "url": "https://swiftpackageindex.com/apple/swift-log"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:33.546815+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:33.546815+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:23:44.762925+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5b48faca76692d06c1de0bef5444f384c09db726d344a3701de7c78dda3851f9", "fetched_at": "2026-08-28T04:08:33.546815+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-log"}, {"content_hash": "1f80122436098fa6d308be9416c009ba13a50c092b14f1189cb47e30a62af9fd", "fetched_at": "2026-08-29T09:16:09.823730+00:00", "kind": "homepage", "missing": false, "url": "https://swiftpackageindex.com/apple/swift-log"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:33.546815+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:33.546815+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:33.546815+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:23:44.762925+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5b48faca76692d06c1de0bef5444f384c09db726d344a3701de7c78dda3851f9", "fetched_at": "2026-08-28T04:08:33.546815+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-log"}, {"content_hash": "1f80122436098fa6d308be9416c009ba13a50c092b14f1189cb47e30a62af9fd", "fetched_at": "2026-08-29T09:16:09.823730+00:00", "kind": "homepage", "missing": false, "url": "https://swiftpackageindex.com/apple/swift-log"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:33.546815+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:33.546815+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:23:44.762925+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5b48faca76692d06c1de0bef5444f384c09db726d344a3701de7c78dda3851f9", "fetched_at": "2026-08-28T04:08:33.546815+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-log"}, {"content_hash": "1f80122436098fa6d308be9416c009ba13a50c092b14f1189cb47e30a62af9fd", "fetched_at": "2026-08-29T09:16:09.823730+00:00", "kind": "homepage", "missing": false, "url": "https://swiftpackageindex.com/apple/swift-log"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:23:44.762925+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5b48faca76692d06c1de0bef5444f384c09db726d344a3701de7c78dda3851f9", "fetched_at": "2026-08-28T04:08:33.546815+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-log"}, {"content_hash": "1f80122436098fa6d308be9416c009ba13a50c092b14f1189cb47e30a62af9fd", "fetched_at": "2026-08-29T09:16:09.823730+00:00", "kind": "homepage", "missing": false, "url": "https://swiftpackageindex.com/apple/swift-log"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:23:44.762925+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5b48faca76692d06c1de0bef5444f384c09db726d344a3701de7c78dda3851f9", "fetched_at": "2026-08-28T04:08:33.546815+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-log"}, {"content_hash": "1f80122436098fa6d308be9416c009ba13a50c092b14f1189cb47e30a62af9fd", "fetched_at": "2026-08-29T09:16:09.823730+00:00", "kind": "homepage", "missing": false, "url": "https://swiftpackageindex.com/apple/swift-log"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:23:44.762925+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5b48faca76692d06c1de0bef5444f384c09db726d344a3701de7c78dda3851f9", "fetched_at": "2026-08-28T04:08:33.546815+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-log"}, {"content_hash": "1f80122436098fa6d308be9416c009ba13a50c092b14f1189cb47e30a62af9fd", "fetched_at": "2026-08-29T09:16:09.823730+00:00", "kind": "homepage", "missing": false, "url": "https://swiftpackageindex.com/apple/swift-log"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 96}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2760, "days_push": 9, "days_rel": 28, "gap_med": 14, "n_releases_24m": 18}, "score": 98, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}